#142C4F#142C4F
#142C4F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.071 H 257.9°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).
Color values
| HEX | #142C4F |
|---|---|
| RGB | rgb(20, 44, 79) |
| HSL | hsl(216, 60%, 19%) |
| HSV | hsv(216, 75%, 31%) |
| CMYK | cmyk(74.7%, 44.3%, 0%, 69%) |
| CIE-LAB | lab(17.98, 4.17, -24.27) |
| CIE-LCH | lch(17.98, 24.63, 279.76°) |
| OKLab | oklab(29.41% -0.0148 -0.0692) |
| OKLCH | oklch(29.41% 0.071 257.9) |
| XYZ | xyz(2.5999, 2.5143, 7.7439) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.21
Marine
#042E60
ΔE00 3.35
Marine Blue
#01386A
ΔE00 5.76
Navy (survey)
#01153E
ΔE00 7.62
Dark
#1B2431
ΔE00 8.73
Twilight Blue
#0A437A
ΔE00 9.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142C4F #4F3714
analogous
#144A4F #142C4F #1A144F
triadic
#142C4F #4F142C #2C4F14
tetradic
#142C4F #4F144A #4F3714 #144F1A
square
#142C4F #4F144A #4F3714 #144F1A
split-complementary
#142C4F #4F1A14 #4A4F14
monochromatic
#060E18 #08111E #142C4F #204780 #2D62B1
Accessibility & contrast
On white
13.97
#142C4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#142C4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142C4F
13.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142C4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142C4F | 1.00 | 13.97 | 1.50 | 13.97 |
| #FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C2F50
Deuteranopia (green-blind)
#13294E
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #142c4f; /* rgb */ color: rgb(20, 44, 79); /* oklch */ color: oklch(29.4% 0.071 257.9);
Tailwind
colors: {
custom: {
50: '#5a6480',
500: '#142c4f',
950: '#000000',
},
}SCSS
$custom: #142c4f; $custom-light: #5a6480; $custom-dark: #000000;
JSON
{
"hex": "#142c4f",
"rgb": {
"r": 20,
"g": 44,
"b": 79
},
"hsl": {
"h": 215.593,
"s": 59.596,
"l": 19.412
},
"oklch": {
"l": 0.29411,
"c": 0.07075,
"h": 257.9
},
"luminance": 0.02515
}Semantic roles & 50–950 ramp
primary
#142C4F
secondary
#876738
accent
#A345E3
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C