#142F62#142F62
#142F62 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.096 H 261.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #142F62 |
|---|---|
| RGB | rgb(20, 47, 98) |
| HSL | hsl(219, 66%, 23%) |
| HSV | hsv(219, 80%, 38%) |
| CMYK | cmyk(79.6%, 52%, 0%, 61.6%) |
| CIE-LAB | lab(20.30, 10.04, -33.20) |
| CIE-LCH | lch(20.30, 34.69, 286.83°) |
| OKLab | oklab(31.62% -0.014 -0.0954) |
| OKLCH | oklch(31.62% 0.096 261.6) |
| XYZ | xyz(3.5088, 3.0632, 11.9592) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.70
Marine Blue
#01386A
ΔE00 4.46
Navy Blue
#1B2A4A
ΔE00 4.96
Darkish Blue
#014182
ΔE00 7.29
Twilight Blue
#0A437A
ΔE00 7.58
Navy (survey)
#01153E
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142F62 #624714
analogous
#145662 #142F62 #201462
triadic
#142F62 #62142F #2F6214
tetradic
#142F62 #621456 #624714 #146220
square
#142F62 #621456 #624714 #146220
split-complementary
#142F62 #622014 #566214
monochromatic
#050C19 #0A172F #142F62 #1E4795 #2960C8
Accessibility & contrast
On white
13.02
#142F62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#142F62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142F62
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142F62 | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123564
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #142f62; /* rgb */ color: rgb(20, 47, 98); /* oklch */ color: oklch(31.6% 0.096 261.6);
Tailwind
colors: {
custom: {
50: '#5e678f',
500: '#142f62',
950: '#000000',
},
}SCSS
$custom: #142f62; $custom-light: #5e678f; $custom-dark: #000000;
JSON
{
"hex": "#142f62",
"rgb": {
"r": 20,
"g": 47,
"b": 98
},
"hsl": {
"h": 219.231,
"s": 66.102,
"l": 23.137
},
"oklch": {
"l": 0.31623,
"c": 0.0964,
"h": 261.6
},
"luminance": 0.03064
}Semantic roles & 50–950 ramp
primary
#142F62
secondary
#997838
accent
#AE3FE9
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D