#142972#142972
#142972 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.128 H 266.5°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #142972 |
|---|---|
| RGB | rgb(20, 41, 114) |
| HSL | hsl(227, 70%, 26%) |
| HSV | hsv(227, 82%, 45%) |
| CMYK | cmyk(82.5%, 64%, 0%, 55.3%) |
| CIE-LAB | lab(19.84, 21.13, -44.34) |
| CIE-LCH | lch(19.84, 49.11, 295.48°) |
| OKLab | oklab(31.7% -0.0079 -0.1282) |
| OKLCH | oklch(31.7% 0.128 266.5) |
| XYZ | xyz(4.1176, 2.9490, 16.2685) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.21
Midnight Blue
#191970
ΔE00 5.33
Marine Blue
#01386A
ΔE00 7.39
Royal
#0C1793
ΔE00 7.93
Navy Blue
#1B2A4A
ΔE00 8.01
Navy Blue (survey)
#001146
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142972 #725D14
analogous
#145872 #142972 #2E1472
triadic
#142972 #721429 #297214
tetradic
#142972 #721458 #725D14 #14722E
square
#142972 #721458 #725D14 #14722E
split-complementary
#142972 #722E14 #587214
monochromatic
#05091A #0B163E #142972 #1D3CA6 #274FD9
Accessibility & contrast
On white
13.21
#142972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#142972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142972
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142972 | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #142972; /* rgb */ color: rgb(20, 41, 114); /* oklch */ color: oklch(31.7% 0.128 266.5);
Tailwind
colors: {
custom: {
50: '#63629b',
500: '#142972',
950: '#000000',
},
}SCSS
$custom: #142972; $custom-light: #63629b; $custom-dark: #000000;
JSON
{
"hex": "#142972",
"rgb": {
"r": 20,
"g": 41,
"b": 114
},
"hsl": {
"h": 226.596,
"s": 70.149,
"l": 26.275
},
"oklch": {
"l": 0.31698,
"c": 0.12846,
"h": 266.5
},
"luminance": 0.0295
}Semantic roles & 50–950 ramp
primary
#142972
secondary
#A89039
accent
#C53BED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E