Nearest named color · #1A111F
#1A111F
Nearest named color: Shot in the Dark
#1A111F (rgb(26 17 31), hsl(279 29% 9%), oklch(0.196 0.03 313)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1A111F
oklch(0.196 0.03 313)
Color conversions
- HEX
- #1a111f
- RGB
- rgb(26 17 31)
- HSL
- hsl(279 29% 9%)
- HWB
- hwb(279 7% 88%)
- OKLCH
- oklch(0.196 0.03 313)
- OKLab
- oklab(0.196 0.021 -0.022)
- CIE Lab
- lab(6.46 6.99 -7.94)
- LCH
- lch(6.46 10.58 311.4)
- CMYK
- cmyk(16% 45% 0% 88%)
Tints · Shades · Tones
Tints
- 2D2432
- 413946
- 564F5A
- 6C6570
- 837D86
- 9A969D
- B3AFB5
- CCC9CD
- E5E4E6
Shades
- 150D19
- 100914
- 0C060F
- 07040A
- 040206
- 020103
- 010001
- 000000
- 000000
Tones
- 231B28
- 2C2531
- 362F3A
- 403A44
- 4A454D
- 545057
- 5F5C61
- 6A686B
- 757476
Color harmonies
Complementary +180°
- 1A111F
Shot in the Dark
- 10180A
≈ Pinch of Pepper
Analogous -30° +30°
- 1A111F
Shot in the Dark
- 131323
≈ Corbeau
- 1F0F19
≈ Shot in the Dark
Triadic +120° +240°
- 1A111F
Shot in the Dark
- 1E1305
≈ Crowshead
- 021919
≈ Black Stallion
Split-complementary +150° +210°
- 1A111F
Shot in the Dark
- 181605
≈ Darkness
- 071911
≈ Pinch of Pepper
Tetradic +90° +180° +270°
- 1A111F
Shot in the Dark
- 21100A
≈ Bighorn Sheep
- 10180A
≈ Pinch of Pepper
- 04181F
≈ Creeping Death
Contrast & accessibility
Ag
AAAOn white
WCAG 18.35:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.14:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 18.35:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--shot-in-the-dark: #1a111f;
--shot-in-the-dark-rgb: 26 17 31;
--shot-in-the-dark-oklch: oklch(0.196 0.03 313);
}
.element {
color: var(--shot-in-the-dark);
background-color: hsl(279 29% 9%);
border-color: oklch(0.196 0.03 313);
}Tailwind CSS v4
@theme {
--color-shot-in-the-dark: #1a111f;
--color-shot-in-the-dark-50: #f8f3fb;
--color-shot-in-the-dark-100: #ece5ef;
--color-shot-in-the-dark-200: #d9d1dd;
--color-shot-in-the-dark-300: #bdb3c2;
--color-shot-in-the-dark-400: #a599ac;
--color-shot-in-the-dark-500: #8d8195;
--color-shot-in-the-dark-600: #786d7e;
--color-shot-in-the-dark-700: #605765;
--color-shot-in-the-dark-800: #46404a;
--color-shot-in-the-dark-900: #302c34;
--color-shot-in-the-dark-950: #1d191f;
}SCSS
$shot-in-the-dark: #1a111f;
$shot-in-the-dark-rgb: 26, 17, 31;
$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);
}