#142E57#142E57
#142E57 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.081 H 259.2°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).
Color values
| HEX | #142E57 |
|---|---|
| RGB | rgb(20, 46, 87) |
| HSL | hsl(217, 63%, 21%) |
| HSV | hsv(217, 77%, 34%) |
| CMYK | cmyk(77%, 47.1%, 0%, 65.9%) |
| CIE-LAB | lab(19.18, 6.10, -27.72) |
| CIE-LCH | lch(19.18, 28.38, 282.40°) |
| OKLab | oklab(30.51% -0.0151 -0.0793) |
| OKLCH | oklch(30.51% 0.081 259.2) |
| XYZ | xyz(2.9852, 2.7905, 9.3963) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.13
Navy Blue
#1B2A4A
ΔE00 3.24
Marine Blue
#01386A
ΔE00 4.80
Navy (survey)
#01153E
ΔE00 8.08
Twilight Blue
#0A437A
ΔE00 8.15
Darkish Blue
#014182
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142E57 #573D14
analogous
#144F57 #142E57 #1B1457
triadic
#142E57 #57142E #2E5714
tetradic
#142E57 #57144F #573D14 #14571B
square
#142E57 #57144F #573D14 #14571B
split-complementary
#142E57 #571B14 #4F5714
monochromatic
#060D19 #091425 #142E57 #1F4889 #2B63BB
Accessibility & contrast
On white
13.48
#142E57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#142E57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142E57
13.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142E57 | 1.00 | 13.48 | 1.56 | 13.48 |
| #FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3259
Deuteranopia (green-blind)
#0E2C56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #142e57; /* rgb */ color: rgb(20, 46, 87); /* oklch */ color: oklch(30.5% 0.081 259.2);
Tailwind
colors: {
custom: {
50: '#5b6687',
500: '#142e57',
950: '#000000',
},
}SCSS
$custom: #142e57; $custom-light: #5b6687; $custom-dark: #000000;
JSON
{
"hex": "#142e57",
"rgb": {
"r": 20,
"g": 46,
"b": 87
},
"hsl": {
"h": 216.716,
"s": 62.617,
"l": 20.98
},
"oklch": {
"l": 0.30515,
"c": 0.0807,
"h": 259.2
},
"luminance": 0.02791
}Semantic roles & 50–950 ramp
primary
#142E57
secondary
#8F6D38
accent
#A642E6
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C