#142871#142871
#142871 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.4% C 0.128 H 266.7°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #142871 |
|---|---|
| RGB | rgb(20, 40, 113) |
| HSL | hsl(227, 70%, 26%) |
| HSV | hsv(227, 82%, 44%) |
| CMYK | cmyk(82.3%, 64.6%, 0%, 55.7%) |
| CIE-LAB | lab(19.47, 21.43, -44.30) |
| CIE-LCH | lch(19.47, 49.21, 295.82°) |
| OKLab | oklab(31.39% -0.0073 -0.1281) |
| OKLCH | oklch(31.39% 0.128 266.7) |
| XYZ | xyz(4.0269, 2.8581, 15.9590) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.05
Marine
#042E60
ΔE00 5.37
Marine Blue
#01386A
ΔE00 7.66
Royal
#0C1793
ΔE00 7.82
Navy Blue
#1B2A4A
ΔE00 8.01
Navy Blue (survey)
#001146
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142871 #715D14
analogous
#145671 #142871 #2E1471
triadic
#142871 #711428 #287114
tetradic
#142871 #711456 #715D14 #14712E
square
#142871 #711456 #715D14 #14712E
split-complementary
#142871 #712E14 #567114
monochromatic
#05091A #0B163D #142871 #1D3AA5 #274DD9
Accessibility & contrast
On white
13.36
#142871 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#142871 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142871
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142871 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142871 | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #142871; /* rgb */ color: rgb(20, 40, 113); /* oklch */ color: oklch(31.4% 0.128 266.7);
Tailwind
colors: {
custom: {
50: '#63619b',
500: '#142871',
950: '#000000',
},
}SCSS
$custom: #142871; $custom-light: #63619b; $custom-dark: #000000;
JSON
{
"hex": "#142871",
"rgb": {
"r": 20,
"g": 40,
"b": 113
},
"hsl": {
"h": 227.097,
"s": 69.925,
"l": 26.078
},
"oklch": {
"l": 0.31393,
"c": 0.12833,
"h": 266.7
},
"luminance": 0.02859
}Semantic roles & 50–950 ramp
primary
#142871
secondary
#A79039
accent
#C73BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E