#142872#142872
#142872 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.5% C 0.130 H 266.8°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).
Color values
| HEX | #142872 |
|---|---|
| RGB | rgb(20, 40, 114) |
| HSL | hsl(227, 70%, 26%) |
| HSV | hsv(227, 82%, 45%) |
| CMYK | cmyk(82.5%, 64.9%, 0%, 55.3%) |
| CIE-LAB | lab(19.56, 21.85, -44.79) |
| CIE-LCH | lch(19.56, 49.84, 296.00°) |
| OKLab | oklab(31.49% -0.0073 -0.1296) |
| OKLCH | oklch(31.49% 0.13 266.8) |
| XYZ | xyz(4.0835, 2.8807, 16.2571) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.97
Marine
#042E60
ΔE00 5.50
Royal
#0C1793
ΔE00 7.67
Marine Blue
#01386A
ΔE00 7.72
Navy Blue
#1B2A4A
ΔE00 8.16
Navy Blue (survey)
#001146
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142872 #725E14
analogous
#145772 #142872 #2F1472
triadic
#142872 #721428 #287214
tetradic
#142872 #721457 #725E14 #14722F
square
#142872 #721457 #725E14 #14722F
split-complementary
#142872 #722F14 #577214
monochromatic
#05091A #0B163E #142872 #1D3AA6 #274DD9
Accessibility & contrast
On white
13.32
#142872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#142872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142872
13.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142872 | 1.00 | 13.32 | 1.58 | 13.32 |
| #FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #142872; /* rgb */ color: rgb(20, 40, 114); /* oklch */ color: oklch(31.5% 0.130 266.8);
Tailwind
colors: {
custom: {
50: '#63619b',
500: '#142872',
950: '#000000',
},
}SCSS
$custom: #142872; $custom-light: #63619b; $custom-dark: #000000;
JSON
{
"hex": "#142872",
"rgb": {
"r": 20,
"g": 40,
"b": 114
},
"hsl": {
"h": 227.234,
"s": 70.149,
"l": 26.275
},
"oklch": {
"l": 0.31491,
"c": 0.12976,
"h": 266.8
},
"luminance": 0.02881
}Semantic roles & 50–950 ramp
primary
#142872
secondary
#A89139
accent
#C73BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E