Nearest named color · #0A1B09
#0A1B09
Nearest named color: Nightmare
#0A1B09 (rgb(10 27 9), hsl(117 50% 7%), oklch(0.201 0.041 142.7)) is closest to the named color Nightmare. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#0A1B09
oklch(0.201 0.041 142.7)
Color conversions
- HEX
- #0a1b09
- RGB
- rgb(10 27 9)
- HSL
- hsl(117 50% 7%)
- HWB
- hwb(117 4% 89%)
- OKLCH
- oklch(0.201 0.041 142.7)
- OKLab
- oklab(0.201 -0.033 0.025)
- CIE Lab
- lab(7.86 -9.9 7.78)
- LCH
- lch(7.86 12.59 141.8)
- CMYK
- cmyk(63% 0% 67% 89%)
Tints · Shades · Tones
Tints
- 1E2E1D
- 334232
- 4A5748
- 616D60
- 7A8478
- 939B92
- ADB3AC
- C8CCC7
- E3E5E3
Shades
- 071607
- 051105
- 030C03
- 020802
- 010501
- 010201
- 000100
- 000000
- 000000
Tones
- 152414
- 1F2D1E
- 2B3729
- 364135
- 424B41
- 4E554D
- 5A6059
- 666A66
- 737573
Color harmonies
Complementary +180°
- 0A1B09
Nightmare
- 1F0F21
≈ Inside
Analogous -30° +30°
- 0A1B09
Nightmare
- 171801
≈ Pinch of Pepper
- 001C15
≈ Pinch of Pepper
Triadic +120° +240°
- 0A1B09
Nightmare
- 0C1629
≈ Liberty Blue
- 260E0D
≈ Italian Roast
Split-complementary +150° +210°
- 0A1B09
Nightmare
- 171227
≈ Corbeau
- 240E18
≈ Italian Roast
Tetradic +90° +180° +270°
Contrast & accessibility
Ag
AAAOn white
WCAG 17.89:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.89:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--nightmare: #0a1b09;
--nightmare-rgb: 10 27 9;
--nightmare-oklch: oklch(0.201 0.041 142.7);
}
.element {
color: var(--nightmare);
background-color: hsl(117 50% 7%);
border-color: oklch(0.201 0.041 142.7);
}Tailwind CSS v4
@theme {
--color-nightmare: #0a1b09;
--color-nightmare-50: #eef8ee;
--color-nightmare-100: #e0ecdf;
--color-nightmare-200: #cad9ca;
--color-nightmare-300: #abbdab;
--color-nightmare-400: #91a58f;
--color-nightmare-500: #778e74;
--color-nightmare-600: #657863;
--color-nightmare-700: #50604f;
--color-nightmare-800: #3b4639;
--color-nightmare-900: #283127;
--color-nightmare-950: #161d15;
}SCSS
$nightmare: #0a1b09;
$nightmare-rgb: 10, 27, 9;
$nightmare-light: mix(#fff, $nightmare, 20%);
$nightmare-dark: mix(#000, $nightmare, 20%);
.element {
color: $nightmare;
box-shadow: 0 0 0 2px rgba($nightmare, 0.35);
}