Nearest named color · #051815
#051815
Nearest named color: Jedi Night
#051815 (rgb(5 24 21), hsl(171 66% 6%), oklch(0.192 0.027 182.1)) is closest to the named color Jedi Night. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#051815
oklch(0.192 0.027 182.1)
Color conversions
- HEX
- #051815
- RGB
- rgb(5 24 21)
- HSL
- hsl(171 66% 6%)
- HWB
- hwb(171 2% 91%)
- OKLCH
- oklch(0.192 0.027 182.1)
- OKLab
- oklab(0.192 -0.027 -0.001)
- CIE Lab
- lab(6.63 -7.37 -0.39)
- LCH
- lch(6.63 7.38 183)
- CMYK
- cmyk(79% 0% 12% 91%)
Tints · Shades · Tones
Tints
- 192B28
- 2F3F3C
- 465452
- 5E6B68
- 77827F
- 919998
- ABB2B0
- C6CBCA
- E2E5E4
Shades
- 041311
- 030F0C
- 020A08
- 010705
- 010403
- 000202
- 000101
- 000000
- 000000
Tones
- 10211E
- 1B2B28
- 273532
- 333F3C
- 3F4947
- 4C5452
- 585E5D
- 656968
- 727574
Color harmonies
Complementary +180°
- 051815
Jedi Night
- 1E0F13
≈ Italian Roast
Analogous -30° +30°
- 051815
Jedi Night
- 0B180E
≈ Pinch of Pepper
- 04171B
≈ Black Is Back
Triadic +120° +240°
- 051815
Jedi Night
- 16111E
≈ Back in Black
- 1D1107
≈ Crowshead
Split-complementary +150° +210°
- 051815
Jedi Night
- 1B1019
≈ Shot in the Dark
- 1F100D
≈ Bighorn Sheep
Tetradic +90° +180° +270°
- 051815
Jedi Night
- 101320
≈ Corbeau
- 1E0F13
≈ Italian Roast
- 181406
≈ Crowshead
Contrast & accessibility
Ag
AAAOn white
WCAG 18.29:1 · APCA Lc 105
Ag
FailOn black
WCAG 1.14:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 18.29:1 (AAA) · APCA Lc 105
Contrast pairs
Code snippets
CSS
:root {
--jedi-night: #051815;
--jedi-night-rgb: 5 24 21;
--jedi-night-oklch: oklch(0.192 0.027 182.1);
}
.element {
color: var(--jedi-night);
background-color: hsl(171 66% 6%);
border-color: oklch(0.192 0.027 182.1);
}Tailwind CSS v4
@theme {
--color-jedi-night: #051815;
--color-jedi-night-50: #edf8f6;
--color-jedi-night-100: #dfebe9;
--color-jedi-night-200: #c9d8d5;
--color-jedi-night-300: #a9bcb9;
--color-jedi-night-400: #8ea49f;
--color-jedi-night-500: #738c87;
--color-jedi-night-600: #627773;
--color-jedi-night-700: #4e5f5c;
--color-jedi-night-800: #394643;
--color-jedi-night-900: #27302e;
--color-jedi-night-950: #151c1b;
}SCSS
$jedi-night: #051815;
$jedi-night-rgb: 5, 24, 21;
$jedi-night-light: mix(#fff, $jedi-night, 20%);
$jedi-night-dark: mix(#000, $jedi-night, 20%);
.element {
color: $jedi-night;
box-shadow: 0 0 0 2px rgba($jedi-night, 0.35);
}