#142E8E#142E8E
#142E8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.161 H 266.0°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #142E8E |
|---|---|
| RGB | rgb(20, 46, 142) |
| HSL | hsl(227, 75%, 32%) |
| HSV | hsv(227, 86%, 56%) |
| CMYK | cmyk(85.9%, 67.6%, 0%, 44.3%) |
| CIE-LAB | lab(23.85, 28.91, -55.44) |
| CIE-LCH | lch(23.85, 62.53, 297.54°) |
| OKLab | oklab(35.48% -0.0113 -0.1606) |
| OKLCH | oklch(35.48% 0.161 266) |
| XYZ | xyz(6.1463, 4.0550, 26.0447) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.84
Royal
#0C1793
ΔE00 6.19
Midnight Blue
#191970
ΔE00 6.98
Blueberry
#464196
ΔE00 7.45
Darkslateblue
#483D8B
ΔE00 7.64
Marine
#042E60
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142E8E #8E7414
analogous
#146B8E #142E8E #37148E
triadic
#142E8E #8E142E #2E8E14
tetradic
#142E8E #8E146B #8E7414 #148E37
square
#142E8E #8E146B #8E7414 #148E37
split-complementary
#142E8E #8E3714 #6B8E14
monochromatic
#050B23 #0C1D58 #142E8E #1C3FC4 #395DE3
Accessibility & contrast
On white
11.59
#142E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#142E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142E8E
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142E8E | 1.00 | 11.59 | 1.81 | 11.59 |
| #FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #142e8e; /* rgb */ color: rgb(20, 46, 142); /* oklch */ color: oklch(35.5% 0.161 266.0);
Tailwind
colors: {
custom: {
50: '#6b66b0',
500: '#142e8e',
950: '#000000',
},
}SCSS
$custom: #142e8e; $custom-light: #6b66b0; $custom-dark: #000000;
JSON
{
"hex": "#142e8e",
"rgb": {
"r": 20,
"g": 46,
"b": 142
},
"hsl": {
"h": 227.213,
"s": 75.309,
"l": 31.765
},
"oklch": {
"l": 0.3548,
"c": 0.16104,
"h": 266
},
"luminance": 0.04056
}Semantic roles & 50–950 ramp
primary
#142E8E
secondary
#C2A53C
accent
#CA36F2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80