#142A4F#142A4F
#142A4F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.9% C 0.073 H 260.2°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #142A4F |
|---|---|
| RGB | rgb(20, 42, 79) |
| HSL | hsl(218, 60%, 19%) |
| HSV | hsv(218, 75%, 31%) |
| CMYK | cmyk(74.7%, 46.8%, 0%, 69%) |
| CIE-LAB | lab(17.32, 5.64, -25.34) |
| CIE-LCH | lch(17.32, 25.96, 282.54°) |
| OKLab | oklab(28.89% -0.0125 -0.0723) |
| OKLCH | oklch(28.89% 0.073 260.2) |
| XYZ | xyz(2.5272, 2.3689, 7.7197) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.86
Marine
#042E60
ΔE00 3.54
Marine Blue
#01386A
ΔE00 6.40
Navy (survey)
#01153E
ΔE00 6.77
Navy Blue (survey)
#001146
ΔE00 8.48
Dark
#1B2431
ΔE00 9.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142A4F #4F3914
analogous
#14484F #142A4F #1C144F
triadic
#142A4F #4F142A #2A4F14
tetradic
#142A4F #4F1448 #4F3914 #144F1C
square
#142A4F #4F1448 #4F3914 #144F1C
split-complementary
#142A4F #4F1C14 #484F14
monochromatic
#060D18 #08101E #142A4F #204480 #2D5EB1
Accessibility & contrast
On white
14.25
#142A4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#142A4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142A4F
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142A4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142A4F | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#0F284E
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #142a4f; /* rgb */ color: rgb(20, 42, 79); /* oklch */ color: oklch(28.9% 0.073 260.2);
Tailwind
colors: {
custom: {
50: '#5a6380',
500: '#142a4f',
950: '#000000',
},
}SCSS
$custom: #142a4f; $custom-light: #5a6380; $custom-dark: #000000;
JSON
{
"hex": "#142a4f",
"rgb": {
"r": 20,
"g": 42,
"b": 79
},
"hsl": {
"h": 217.627,
"s": 59.596,
"l": 19.412
},
"oklch": {
"l": 0.28893,
"c": 0.07343,
"h": 260.2
},
"luminance": 0.02369
}Semantic roles & 50–950 ramp
primary
#142A4F
secondary
#876A38
accent
#A845E3
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C