#140F2E#140F2E
#140F2E is a very dark, muted blue. Relative luminance 0.007; OKLCH L 19.5% C 0.060 H 286.9°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).
Color values
| HEX | #140F2E |
|---|---|
| RGB | rgb(20, 15, 46) |
| HSL | hsl(250, 51%, 12%) |
| HSV | hsv(250, 67%, 18%) |
| CMYK | cmyk(56.5%, 67.4%, 0%, 82%) |
| CIE-LAB | lab(6.21, 12.05, -19.79) |
| CIE-LCH | lch(6.21, 23.17, 301.35°) |
| OKLab | oklab(19.54% 0.0174 -0.0572) |
| OKLCH | oklch(19.54% 0.06 286.9) |
| XYZ | xyz(0.9523, 0.6876, 2.6668) |
| Luminance | 0.0069 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 4.44
Dark Navy Blue
#00022E
ΔE00 5.03
Very Dark Blue
#000133
ΔE00 5.88
Dark Navy
#000435
ΔE00 5.89
Midnight Blue (survey)
#020035
ΔE00 6.18
Navy (survey)
#01153E
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#140F2E #292E0F
analogous
#0F1A2E #140F2E #240F2E
triadic
#140F2E #2E140F #0F2E14
tetradic
#140F2E #2E0F1A #292E0F #0F2E24
square
#140F2E #2E0F1A #292E0F #0F2E24
split-complementary
#140F2E #2E240F #1A2E0F
monochromatic
#0A0817 #0A0817 #140F2E #281E5C #3C2D8A
Accessibility & contrast
On white
18.46
#140F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#140F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #140F2E
18.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##140F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##140F2E | 1.00 | 18.46 | 1.14 | 18.46 |
| #FFFFFF | 18.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#01132D
Tritanopia (blue-blind)
#0C161C
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #140f2e; /* rgb */ color: rgb(20, 15, 46); /* oklch */ color: oklch(19.5% 0.060 286.9);
Tailwind
colors: {
custom: {
50: '#534d67',
500: '#140f2e',
950: '#000000',
},
}SCSS
$custom: #140f2e; $custom-light: #534d67; $custom-dark: #000000;
JSON
{
"hex": "#140f2e",
"rgb": {
"r": 20,
"g": 15,
"b": 46
},
"hsl": {
"h": 249.677,
"s": 50.82,
"l": 11.961
},
"oklch": {
"l": 0.19538,
"c": 0.05975,
"h": 286.9
},
"luminance": 0.00688
}Semantic roles & 50–950 ramp
primary
#140F2E
secondary
#5F6831
accent
#DA4DC4
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A