Nearest named color · #002013
#002013
Nearest named color: Nightmare
#002013 (rgb(0 32 19), hsl(156 100% 6%), oklch(0.215 0.047 162.7)) is closest to the named color Nightmare. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#002013
oklch(0.215 0.047 162.7)
Color conversions
- HEX
- #002013
- RGB
- rgb(0 32 19)
- HSL
- hsl(156 100% 6%)
- HWB
- hwb(156 0% 87%)
- OKLCH
- oklch(0.215 0.047 162.7)
- OKLab
- oklab(0.215 -0.045 0.014)
- CIE Lab
- lab(9.6 -15.16 5.13)
- LCH
- lch(9.6 16 161.3)
- CMYK
- cmyk(100% 0% 41% 87%)
Tints · Shades · Tones
Tints
- 173326
- 2E473B
- 455B50
- 5D7167
- 77877E
- 909E97
- ABB5B0
- C6CDCA
- E2E6E4
Shades
- 001A0F
- 00150B
- 000F07
- 000A05
- 000603
- 000301
- 000101
- 000000
- 000000
Tones
- 0C291C
- 193226
- 263B31
- 32443B
- 3F4E46
- 4B5851
- 58615C
- 656C68
- 727674
Color harmonies
Complementary +180°
- 002013
Nightmare
- 28101F
≈ Inside
Analogous -30° +30°
- 002013
Nightmare
- 111E06
≈ Nightmare
- 001F1E
≈ Stellar Explorer
Triadic +120° +240°
- 002013
Nightmare
- 17162E
≈ Lost in Sadness
- 2B1107
≈ Root Brew
Split-complementary +150° +210°
- 002013
Nightmare
- 211229
≈ Inside
- 2B0F13
≈ Dark Danger
Tetradic +90° +180° +270°
- 002013
Nightmare
- 081A2E
≈ Oxford by Night
- 28101F
≈ Inside
- 261500
≈ Cannon Black
Contrast & accessibility
Ag
AAAOn white
WCAG 17.26:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.21:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.26:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--nightmare: #002013;
--nightmare-rgb: 0 32 19;
--nightmare-oklch: oklch(0.215 0.047 162.7);
}
.element {
color: var(--nightmare);
background-color: hsl(156 100% 6%);
border-color: oklch(0.215 0.047 162.7);
}Tailwind CSS v4
@theme {
--color-nightmare: #002013;
--color-nightmare-50: #eafaf2;
--color-nightmare-100: #daede4;
--color-nightmare-200: #c3dbcf;
--color-nightmare-300: #a2bfb1;
--color-nightmare-400: #86a896;
--color-nightmare-500: #6a907d;
--color-nightmare-600: #5a7a6a;
--color-nightmare-700: #486255;
--color-nightmare-800: #34483d;
--color-nightmare-900: #24322a;
--color-nightmare-950: #121e18;
}SCSS
$nightmare: #002013;
$nightmare-rgb: 0, 32, 19;
$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);
}