#142F5C#142F5C
#142F5C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.1% C 0.087 H 260.0°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #142F5C |
|---|---|
| RGB | rgb(20, 47, 92) |
| HSL | hsl(218, 64%, 22%) |
| HSV | hsv(218, 78%, 36%) |
| CMYK | cmyk(78.3%, 48.9%, 0%, 63.9%) |
| CIE-LAB | lab(19.86, 7.49, -29.96) |
| CIE-LCH | lch(19.86, 30.88, 284.04°) |
| OKLab | oklab(31.15% -0.0151 -0.0858) |
| OKLCH | oklch(31.15% 0.087 260) |
| XYZ | xyz(3.2361, 2.9541, 10.5228) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.63
Navy Blue
#1B2A4A
ΔE00 4.03
Marine Blue
#01386A
ΔE00 4.39
Darkish Blue
#014182
ΔE00 7.60
Twilight Blue
#0A437A
ΔE00 7.68
Navy (survey)
#01153E
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142F5C #5C4114
analogous
#14535C #142F5C #1D145C
triadic
#142F5C #5C142F #2F5C14
tetradic
#142F5C #5C1453 #5C4114 #145C1D
square
#142F5C #5C1453 #5C4114 #145C1D
split-complementary
#142F5C #5C1D14 #535C14
monochromatic
#050D19 #09152A #142F5C #1F498E #2A62C1
Accessibility & contrast
On white
13.20
#142F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#142F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142F5C
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142F5C | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18345E
Deuteranopia (green-blind)
#092D5B
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #142f5c; /* rgb */ color: rgb(20, 47, 92); /* oklch */ color: oklch(31.1% 0.087 260.0);
Tailwind
colors: {
custom: {
50: '#5d678a',
500: '#142f5c',
950: '#000000',
},
}SCSS
$custom: #142f5c; $custom-light: #5d678a; $custom-dark: #000000;
JSON
{
"hex": "#142f5c",
"rgb": {
"r": 20,
"g": 47,
"b": 92
},
"hsl": {
"h": 217.5,
"s": 64.286,
"l": 21.961
},
"oklch": {
"l": 0.31148,
"c": 0.08714,
"h": 260
},
"luminance": 0.02954
}Semantic roles & 50–950 ramp
primary
#142F5C
secondary
#947138
accent
#A941E7
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D