Nearest named color · #1E1423
#1E1423
Nearest named color: Shot in the Dark
#1E1423 (rgb(30 20 35), hsl(280 27% 11%), oklch(0.211 0.032 314.1)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1E1423
oklch(0.211 0.032 314.1)
Color conversions
- HEX
- #1e1423
- RGB
- rgb(30 20 35)
- HSL
- hsl(280 27% 11%)
- HWB
- hwb(280 8% 86%)
- OKLCH
- oklch(0.211 0.032 314.1)
- OKLab
- oklab(0.211 0.022 -0.023)
- CIE Lab
- lab(8.06 8.03 -8.48)
- LCH
- lch(8.06 11.68 313.4)
- CMYK
- cmyk(14% 43% 0% 86%)
Tints · Shades · Tones
Tints
- 312736
- 453C49
- 59515E
- 6F6873
- 857F89
- 9D979F
- B4B0B6
- CDCACE
- E6E4E6
Shades
- 19101D
- 130C17
- 0E0811
- 09050C
- 050307
- 030104
- 010101
- 000000
- 000000
Tones
- 271E2C
- 302734
- 39323D
- 433C46
- 4C474F
- 565259
- 605D62
- 6B686C
- 757476
Color harmonies
Complementary +180°
- 1E1423
Shot in the Dark
- 121C0C
≈ Pinch of Pepper
Analogous -30° +30°
- 1E1423
Shot in the Dark
- 171627
≈ Sambucus
- 23121C
≈ Inside
Triadic +120° +240°
- 1E1423
Shot in the Dark
- 211607
≈ Noir Mystique
- 031D1D
≈ Stellar Explorer
Split-complementary +150° +210°
- 1E1423
Shot in the Dark
- 1B1907
≈ Noir Mystique
- 081D15
≈ Pinch of Pepper
Tetradic +90° +180° +270°
- 1E1423
Shot in the Dark
- 25140C
≈ Used Oil
- 121C0C
≈ Pinch of Pepper
- 051C24
≈ Black Stallion
Contrast & accessibility
Ag
AAAOn white
WCAG 17.80:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.80:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #1e1423;
--shot-in-the-dark-rgb: 30 20 35;
--shot-in-the-dark-oklch: oklch(0.211 0.032 314.1);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(280 27% 11%);
border-color: oklch(0.211 0.032 314.1);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1e1423;
--color-shot-in-the-dark-50: #f9f2fc;
--color-shot-in-the-dark-100: #ece5ef;
--color-shot-in-the-dark-200: #dad0de;
--color-shot-in-the-dark-300: #beb3c3;
--color-shot-in-the-dark-400: #a599ac;
--color-shot-in-the-dark-500: #8e8096;
--color-shot-in-the-dark-600: #786d7e;
--color-shot-in-the-dark-700: #605765;
--color-shot-in-the-dark-800: #463f4b;
--color-shot-in-the-dark-900: #312c34;
--color-shot-in-the-dark-950: #1d191f;
}SCSS
$shot-in-the-dark: #1e1423;
$shot-in-the-dark-rgb: 30, 20, 35;
$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);
}