#140B2E#140B2E
#140B2E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.067 H 290.3°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).
Color values
| HEX | #140B2E |
|---|---|
| RGB | rgb(20, 11, 46) |
| HSL | hsl(255, 61%, 11%) |
| HSV | hsv(255, 76%, 18%) |
| CMYK | cmyk(56.5%, 76.1%, 0%, 82%) |
| CIE-LAB | lab(5.29, 14.07, -21.26) |
| CIE-LCH | lch(5.29, 25.49, 303.51°) |
| OKLab | oklab(18.69% 0.0231 -0.0627) |
| OKLCH | oklch(18.69% 0.067 290.3) |
| XYZ | xyz(0.9012, 0.5853, 2.6497) |
| Luminance | 0.0059 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 4.20
Dark Navy Blue
#00022E
ΔE00 4.93
Very Dark Blue
#000133
ΔE00 5.41
Dark Navy
#000435
ΔE00 5.47
Midnight Blue (survey)
#020035
ΔE00 5.50
Navy (survey)
#01153E
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#140B2E #252E0B
analogous
#0B132E #140B2E #250B2E
triadic
#140B2E #2E140B #0B2E14
tetradic
#140B2E #2E0B13 #252E0B #0B2E25
square
#140B2E #2E0B13 #252E0B #0B2E25
split-complementary
#140B2E #2E250B #132E0B
monochromatic
#0B0619 #0B0619 #140B2E #29175F #3F2391
Accessibility & contrast
On white
18.80
#140B2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.12
#140B2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #140B2E
18.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##140B2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##140B2E | 1.00 | 18.80 | 1.12 | 18.80 |
| #FFFFFF | 18.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#0C131B
Achromatopsia (no color)
#121212
Design tokens & code
CSS
--color: #140b2e; /* rgb */ color: rgb(20, 11, 46); /* oklch */ color: oklch(18.7% 0.067 290.3);
Tailwind
colors: {
custom: {
50: '#534b67',
500: '#140b2e',
950: '#000000',
},
}SCSS
$custom: #140b2e; $custom-light: #534b67; $custom-dark: #000000;
JSON
{
"hex": "#140b2e",
"rgb": {
"r": 20,
"g": 11,
"b": 46
},
"hsl": {
"h": 255.429,
"s": 61.404,
"l": 11.176
},
"oklch": {
"l": 0.18691,
"c": 0.0668,
"h": 290.3
},
"luminance": 0.00585
}Semantic roles & 50–950 ramp
primary
#140B2E
secondary
#5A6A2A
accent
#E543BB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A