#140C3F#140C3F
#140C3F is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.091 H 282.0°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).
Color values
| HEX | #140C3F |
|---|---|
| RGB | rgb(20, 12, 63) |
| HSL | hsl(249, 68%, 15%) |
| HSV | hsv(249, 81%, 25%) |
| CMYK | cmyk(68.3%, 81%, 0%, 75.3%) |
| CIE-LAB | lab(6.96, 21.13, -30.97) |
| CIE-LCH | lch(6.96, 37.49, 304.30°) |
| OKLab | oklab(20.68% 0.019 -0.0895) |
| OKLCH | oklch(20.68% 0.092 282) |
| XYZ | xyz(1.3169, 0.7705, 4.7810) |
| Luminance | 0.0077 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue (survey)
#020035
ΔE00 3.91
Navy Blue (survey)
#001146
ΔE00 4.03
Night Blue
#040348
ΔE00 4.09
Dark Navy
#000435
ΔE00 4.51
Very Dark Blue
#000133
ΔE00 4.63
Dark Indigo
#1F0954
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#140C3F #373F0C
analogous
#0C1E3F #140C3F #2E0C3F
triadic
#140C3F #3F140C #0C3F14
tetradic
#140C3F #3F0C1E #373F0C #0C3F2E
square
#140C3F #3F0C1E #373F0C #0C3F2E
split-complementary
#140C3F #3F2E0C #1E3F0C
monochromatic
#08051A #08051A #140C3F #241672 #3520A6
Accessibility & contrast
On white
18.19
#140C3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.15
#140C3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #140C3F
18.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##140C3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##140C3F | 1.00 | 18.19 | 1.15 | 18.19 |
| #FFFFFF | 18.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#151515
Design tokens & code
CSS
--color: #140c3f; /* rgb */ color: rgb(20, 12, 63); /* oklch */ color: oklch(20.7% 0.091 282.0);
Tailwind
colors: {
custom: {
50: '#584b75',
500: '#140c3f',
950: '#000000',
},
}SCSS
$custom: #140c3f; $custom-light: #584b75; $custom-dark: #000000;
JSON
{
"hex": "#140c3f",
"rgb": {
"r": 20,
"g": 12,
"b": 63
},
"hsl": {
"h": 249.412,
"s": 68,
"l": 14.706
},
"oklch": {
"l": 0.20676,
"c": 0.0915,
"h": 282
},
"luminance": 0.00771
}Semantic roles & 50–950 ramp
primary
#140C3F
secondary
#6F7B2C
accent
#EB3DD0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B