#142F5A#142F5A
#142F5A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.084 H 259.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #142F5A |
|---|---|
| RGB | rgb(20, 47, 90) |
| HSL | hsl(217, 64%, 22%) |
| HSV | hsv(217, 78%, 35%) |
| CMYK | cmyk(77.8%, 47.8%, 0%, 64.7%) |
| CIE-LAB | lab(19.72, 6.64, -28.86) |
| CIE-LCH | lch(19.72, 29.61, 282.96°) |
| OKLab | oklab(31% -0.0155 -0.0826) |
| OKLCH | oklch(31% 0.084 259.4) |
| XYZ | xyz(3.1498, 2.9196, 10.0684) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.78
Navy Blue
#1B2A4A
ΔE00 3.75
Marine Blue
#01386A
ΔE00 4.41
Darkish Blue
#014182
ΔE00 7.72
Twilight Blue
#0A437A
ΔE00 7.73
Navy (survey)
#01153E
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142F5A #5A3F14
analogous
#14525A #142F5A #1C145A
triadic
#142F5A #5A142F #2F5A14
tetradic
#142F5A #5A1452 #5A3F14 #145A1C
square
#142F5A #5A1452 #5A3F14 #145A1C
split-complementary
#142F5A #5A1C14 #525A14
monochromatic
#060D19 #091528 #142F5A #1F498C #2A63BE
Accessibility & contrast
On white
13.26
#142F5A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#142F5A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142F5A
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142F5A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142F5A | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A335C
Deuteranopia (green-blind)
#0C2D59
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #142f5a; /* rgb */ color: rgb(20, 47, 90); /* oklch */ color: oklch(31.0% 0.084 259.4);
Tailwind
colors: {
custom: {
50: '#5c6789',
500: '#142f5a',
950: '#000000',
},
}SCSS
$custom: #142f5a; $custom-light: #5c6789; $custom-dark: #000000;
JSON
{
"hex": "#142f5a",
"rgb": {
"r": 20,
"g": 47,
"b": 90
},
"hsl": {
"h": 216.857,
"s": 63.636,
"l": 21.569
},
"oklch": {
"l": 0.30995,
"c": 0.08403,
"h": 259.4
},
"luminance": 0.0292
}Semantic roles & 50–950 ramp
primary
#142F5A
secondary
#926F38
accent
#A741E7
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C