#142974#142974
#142974 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.131 H 266.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #142974 |
|---|---|
| RGB | rgb(20, 41, 116) |
| HSL | hsl(227, 71%, 27%) |
| HSV | hsv(227, 83%, 45%) |
| CMYK | cmyk(82.8%, 64.7%, 0%, 54.5%) |
| CIE-LAB | lab(20.02, 21.95, -45.32) |
| CIE-LCH | lch(20.02, 50.35, 295.84°) |
| OKLab | oklab(31.89% -0.0079 -0.1311) |
| OKLCH | oklch(31.89% 0.131 266.5) |
| XYZ | xyz(4.2327, 2.9951, 16.8746) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.21
Marine
#042E60
ΔE00 5.47
Marine Blue
#01386A
ΔE00 7.52
Royal
#0C1793
ΔE00 7.62
Navy Blue
#1B2A4A
ΔE00 8.31
Sapphire (survey)
#2138AB
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142974 #745F14
analogous
#145974 #142974 #2F1474
triadic
#142974 #741429 #297414
tetradic
#142974 #741459 #745F14 #14742F
square
#142974 #741459 #745F14 #14742F
split-complementary
#142974 #742F14 #597414
monochromatic
#05091A #0B1740 #142974 #1D3BA8 #284FDA
Accessibility & contrast
On white
13.13
#142974 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#142974 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142974
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142974 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142974 | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#002C73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #142974; /* rgb */ color: rgb(20, 41, 116); /* oklch */ color: oklch(31.9% 0.131 266.5);
Tailwind
colors: {
custom: {
50: '#64629d',
500: '#142974',
950: '#000000',
},
}SCSS
$custom: #142974; $custom-light: #64629d; $custom-dark: #000000;
JSON
{
"hex": "#142974",
"rgb": {
"r": 20,
"g": 41,
"b": 116
},
"hsl": {
"h": 226.875,
"s": 70.588,
"l": 26.667
},
"oklch": {
"l": 0.31893,
"c": 0.13133,
"h": 266.5
},
"luminance": 0.02996
}Semantic roles & 50–950 ramp
primary
#142974
secondary
#AA923A
accent
#C63AED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E