#142F76#142F76
#142F76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.4% C 0.126 H 264.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #142F76 |
|---|---|
| RGB | rgb(20, 47, 118) |
| HSL | hsl(223, 71%, 27%) |
| HSV | hsv(223, 83%, 46%) |
| CMYK | cmyk(83.1%, 60.2%, 0%, 53.7%) |
| CIE-LAB | lab(21.91, 18.48, -43.53) |
| CIE-LCH | lch(21.91, 47.29, 293.01°) |
| OKLab | oklab(33.35% -0.0119 -0.1257) |
| OKLCH | oklch(33.35% 0.126 264.6) |
| XYZ | xyz(4.5739, 3.4892, 17.5685) |
| Luminance | 0.0349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.36
Marine Blue
#01386A
ΔE00 5.72
Darkish Blue
#014182
ΔE00 6.98
Midnight Blue
#191970
ΔE00 7.27
Twilight Blue
#0A437A
ΔE00 7.83
Navy Blue
#1B2A4A
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142F76 #765B14
analogous
#146076 #142F76 #2A1476
triadic
#142F76 #76142F #2F7614
tetradic
#142F76 #761460 #765B14 #14762A
square
#142F76 #761460 #765B14 #14762A
split-complementary
#142F76 #762A14 #607614
monochromatic
#040A1A #0B1A42 #142F76 #1D44AA #2A5ADB
Accessibility & contrast
On white
12.37
#142F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#142F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142F76
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142F76 | 1.00 | 12.37 | 1.70 | 12.37 |
| #FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #142f76; /* rgb */ color: rgb(20, 47, 118); /* oklch */ color: oklch(33.4% 0.126 264.6);
Tailwind
colors: {
custom: {
50: '#64679e',
500: '#142f76',
950: '#000000',
},
}SCSS
$custom: #142f76; $custom-light: #64679e; $custom-dark: #000000;
JSON
{
"hex": "#142f76",
"rgb": {
"r": 20,
"g": 47,
"b": 118
},
"hsl": {
"h": 223.469,
"s": 71.014,
"l": 27.059
},
"oklch": {
"l": 0.33353,
"c": 0.12631,
"h": 264.6
},
"luminance": 0.0349
}Semantic roles & 50–950 ramp
primary
#142F76
secondary
#AC8D3A
accent
#BC3AEE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E