Nearest named color · #1C1429
#1C1429
Nearest named color: Shot in the Dark
#1C1429 (rgb(28 20 41), hsl(263 34% 12%), oklch(0.212 0.042 300.5)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1C1429
oklch(0.212 0.042 300.5)
Color conversions
- HEX
- #1c1429
- RGB
- rgb(28 20 41)
- HSL
- hsl(263 34% 12%)
- HWB
- hwb(263 8% 84%)
- OKLCH
- oklch(0.212 0.042 300.5)
- OKLab
- oklab(0.212 0.021 -0.036)
- CIE Lab
- lab(8.08 8.53 -12.96)
- LCH
- lch(8.08 15.52 303.4)
- CMYK
- cmyk(32% 51% 0% 84%)
Tints · Shades · Tones
Tints
- 2F273C
- 423C4F
- 575163
- 6D6878
- 847F8D
- 9B98A3
- B3B1B9
- CCCAD0
- E5E4E7
Shades
- 171022
- 120C1C
- 0D0815
- 08050F
- 050309
- 020105
- 010102
- 000001
- 000000
Tones
- 251E31
- 2E283A
- 373242
- 413C4B
- 4B4753
- 55525C
- 605D65
- 6A696E
- 757477
Color harmonies
Complementary +180°
- 1C1429
Shot in the Dark
- 161C04
≈ Pinch of Pepper
Analogous -30° +30°
- 1C1429
Shot in the Dark
- 12172C
≈ Sambucus
- 241122
≈ Inside
Triadic +120° +240°
- 1C1429
Shot in the Dark
- 271404
≈ Cannon Black
- 001E1A
≈ Stellar Explorer
Split-complementary +150° +210°
- 1C1429
Shot in the Dark
- 201801
≈ Noir Mystique
- 081E0E
≈ Clock Chimes Thirteen
Tetradic +90° +180° +270°
- 1C1429
Shot in the Dark
- 29110D
≈ Root Brew
- 161C04
≈ Pinch of Pepper
- 001D22
≈ Stellar Explorer
Contrast & accessibility
Ag
AAAOn white
WCAG 17.77:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.18:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.77:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #1c1429;
--shot-in-the-dark-rgb: 28 20 41;
--shot-in-the-dark-oklch: oklch(0.212 0.042 300.5);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(263 34% 12%);
border-color: oklch(0.212 0.042 300.5);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1c1429;
--color-shot-in-the-dark-50: #f7f3ff;
--color-shot-in-the-dark-100: #eae5f4;
--color-shot-in-the-dark-200: #d7d0e3;
--color-shot-in-the-dark-300: #bbb3ca;
--color-shot-in-the-dark-400: #a299b4;
--color-shot-in-the-dark-500: #8a809e;
--color-shot-in-the-dark-600: #756d86;
--color-shot-in-the-dark-700: #5e576b;
--color-shot-in-the-dark-800: #443f4f;
--color-shot-in-the-dark-900: #2f2c37;
--color-shot-in-the-dark-950: #1c1922;
}SCSS
$shot-in-the-dark: #1c1429;
$shot-in-the-dark-rgb: 28, 20, 41;
$shot-in-the-dark-light: mix(#fff, $shot-in-the-dark, 20%);
$shot-in-the-dark-dark: mix(#000, $shot-in-the-dark, 20%);
.element {
color: $shot-in-the-dark;
box-shadow: 0 0 0 2px rgba($shot-in-the-dark, 0.35);
}