#142875#142875
#142875 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.134 H 266.9°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #142875 |
|---|---|
| RGB | rgb(20, 40, 117) |
| HSL | hsl(228, 71%, 27%) |
| HSV | hsv(228, 83%, 46%) |
| CMYK | cmyk(82.9%, 65.8%, 0%, 54.1%) |
| CIE-LAB | lab(19.84, 23.07, -46.26) |
| CIE-LCH | lch(19.84, 51.69, 296.51°) |
| OKLab | oklab(31.79% -0.0073 -0.1338) |
| OKLCH | oklch(31.79% 0.134 266.9) |
| XYZ | xyz(4.2570, 2.9502, 17.1712) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.80
Marine
#042E60
ΔE00 5.88
Royal
#0C1793
ΔE00 7.20
Marine Blue
#01386A
ΔE00 7.92
Navy Blue
#1B2A4A
ΔE00 8.60
Dark Royal Blue
#02066F
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142875 #756114
analogous
#145975 #142875 #311475
triadic
#142875 #751428 #287514
tetradic
#142875 #751459 #756114 #147531
square
#142875 #751459 #756114 #147531
split-complementary
#142875 #753114 #597514
monochromatic
#04091A #0B1641 #142875 #1D3AA9 #294EDA
Accessibility & contrast
On white
13.21
#142875 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#142875 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142875
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142875 | 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)
#003577
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #142875; /* rgb */ color: rgb(20, 40, 117); /* oklch */ color: oklch(31.8% 0.134 266.9);
Tailwind
colors: {
custom: {
50: '#64619e',
500: '#142875',
950: '#000000',
},
}SCSS
$custom: #142875; $custom-light: #64619e; $custom-dark: #000000;
JSON
{
"hex": "#142875",
"rgb": {
"r": 20,
"g": 40,
"b": 117
},
"hsl": {
"h": 227.629,
"s": 70.803,
"l": 26.863
},
"oklch": {
"l": 0.31788,
"c": 0.13405,
"h": 266.9
},
"luminance": 0.02951
}Semantic roles & 50–950 ramp
primary
#142875
secondary
#AB943A
accent
#C93AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E