#142A4A#142A4A
#142A4A is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.5% C 0.065 H 257.8°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #142A4A |
|---|---|
| RGB | rgb(20, 42, 74) |
| HSL | hsl(216, 57%, 18%) |
| HSV | hsv(216, 73%, 29%) |
| CMYK | cmyk(73%, 43.2%, 0%, 71%) |
| CIE-LAB | lab(16.98, 3.53, -22.47) |
| CIE-LCH | lch(16.98, 22.75, 278.94°) |
| OKLab | oklab(28.53% -0.0138 -0.0639) |
| OKLCH | oklch(28.53% 0.065 257.8) |
| XYZ | xyz(2.3520, 2.2988, 6.7970) |
| Luminance | 0.0230 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.84
Marine
#042E60
ΔE00 4.29
Marine Blue
#01386A
ΔE00 6.67
Navy (survey)
#01153E
ΔE00 7.24
Dark
#1B2431
ΔE00 7.80
Navy Blue (survey)
#001146
ΔE00 9.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142A4A #4A3414
analogous
#14454A #142A4A #19144A
triadic
#142A4A #4A142A #2A4A14
tetradic
#142A4A #4A1445 #4A3414 #144A19
square
#142A4A #4A1445 #4A3414 #144A19
split-complementary
#142A4A #4A1914 #454A14
monochromatic
#070E18 #070F1A #142A4A #21457A #2E61AA
Accessibility & contrast
On white
14.39
#142A4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#142A4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142A4A
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142A4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142A4A | 1.00 | 14.39 | 1.46 | 14.39 |
| #FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C2D4B
Deuteranopia (green-blind)
#142849
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #142a4a; /* rgb */ color: rgb(20, 42, 74); /* oklch */ color: oklch(28.5% 0.065 257.8);
Tailwind
colors: {
custom: {
50: '#58637d',
500: '#142a4a',
950: '#000000',
},
}SCSS
$custom: #142a4a; $custom-light: #58637d; $custom-dark: #000000;
JSON
{
"hex": "#142a4a",
"rgb": {
"r": 20,
"g": 42,
"b": 74
},
"hsl": {
"h": 215.556,
"s": 57.447,
"l": 18.431
},
"oklch": {
"l": 0.28528,
"c": 0.06541,
"h": 257.8
},
"luminance": 0.02299
}Semantic roles & 50–950 ramp
primary
#142A4A
secondary
#826438
accent
#A247E1
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B