Nearest named color · #040F05
#040F05
Nearest named color: Jedi Night
#040F05 (rgb(4 15 5), hsl(125 58% 4%), oklch(0.153 0.029 146.7)) is closest to the named color Jedi Night. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#040F05
oklch(0.153 0.029 146.7)
Color conversions
- HEX
- #040f05
- RGB
- rgb(4 15 5)
- HSL
- hsl(125 58% 4%)
- HWB
- hwb(125 2% 94%)
- OKLCH
- oklch(0.153 0.029 146.7)
- OKLab
- oklab(0.153 -0.025 0.016)
- CIE Lab
- lab(3.42 -4.3 2.94)
- LCH
- lch(3.42 5.21 145.6)
- CMYK
- cmyk(73% 0% 67% 94%)
Tints · Shades · Tones
Tints
- 162217
- 2C372C
- 434D43
- 5B645B
- 747C74
- 8E958E
- A9AEA9
- C5C8C5
- E2E3E2
Shades
- 030B04
- 020803
- 010502
- 010301
- 000201
- 000100
- 000000
- 000000
- 000000
Tones
- 0D190E
- 182319
- 242D25
- 303831
- 3C443D
- 494F4A
- 575B57
- 646764
- 727372
Color harmonies
Complementary +180°
- 040F05
Jedi Night
- 120712
≈ Noir Fiction
Analogous -30° +30°
- 040F05
Jedi Night
- 0B0D01
≈ Whiten’t
- 00100B
≈ Alpine Salamander
Triadic +120° +240°
- 040F05
Jedi Night
- 060B18
≈ Dark Rift
- 160706
≈ Asphalt
Split-complementary +150° +210°
- 040F05
Jedi Night
- 0D0917
≈ Narwhal Grey
- 15060C
≈ Noir Fiction
Tetradic +90° +180° +270°
- 040F05
Jedi Night
- 010D17
≈ Black Knight
- 120712
≈ Noir Fiction
- 150802
≈ Asphalt
Contrast & accessibility
Ag
AAAOn white
WCAG 19.52:1 · APCA Lc 106
Ag
FailOn black
WCAG 1.07:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 19.52:1 (AAA) · APCA Lc 106
Contrast pairs
Code snippets
CSS
:root {
--jedi-night: #040f05;
--jedi-night-rgb: 4 15 5;
--jedi-night-oklch: oklch(0.153 0.029 146.7);
}
.element {
color: var(--jedi-night);
background-color: hsl(125 58% 4%);
border-color: oklch(0.153 0.029 146.7);
}Tailwind CSS v4
@theme {
--color-jedi-night: #040f05;
--color-jedi-night-50: #f0f8f1;
--color-jedi-night-100: #e2ebe3;
--color-jedi-night-200: #ccd8cd;
--color-jedi-night-300: #aebcaf;
--color-jedi-night-400: #94a394;
--color-jedi-night-500: #7a8c7b;
--color-jedi-night-600: #677668;
--color-jedi-night-700: #535f53;
--color-jedi-night-800: #3c453c;
--color-jedi-night-900: #293029;
--color-jedi-night-950: #171c17;
}SCSS
$jedi-night: #040f05;
$jedi-night-rgb: 4, 15, 5;
$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);
}