#142474#142474
#142474 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.138 H 267.9°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #142474 |
|---|---|
| RGB | rgb(20, 36, 116) |
| HSL | hsl(230, 71%, 27%) |
| HSV | hsv(230, 83%, 45%) |
| CMYK | cmyk(82.8%, 69%, 0%, 54.5%) |
| CIE-LAB | lab(18.68, 25.48, -47.53) |
| CIE-LCH | lch(18.68, 53.93, 298.19°) |
| OKLab | oklab(30.9% -0.0049 -0.1376) |
| OKLCH | oklch(30.9% 0.138 267.9) |
| XYZ | xyz(4.0707, 2.6710, 16.8206) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.48
Royal
#0C1793
ΔE00 6.37
Marine
#042E60
ΔE00 6.90
Dark Royal Blue
#02066F
ΔE00 7.33
Darkblue (survey)
#030764
ΔE00 7.41
Deep Blue
#040273
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142474 #746414
analogous
#145474 #142474 #341474
triadic
#142474 #741424 #247414
tetradic
#142474 #741454 #746414 #147434
square
#142474 #741454 #746414 #147434
split-complementary
#142474 #743414 #547414
monochromatic
#05081A #0B1440 #142474 #1D34A8 #2846DA
Accessibility & contrast
On white
13.69
#142474 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#142474 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142474
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142474 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142474 | 1.00 | 13.69 | 1.53 | 13.69 |
| #FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003277
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #142474; /* rgb */ color: rgb(20, 36, 116); /* oklch */ color: oklch(30.9% 0.138 267.9);
Tailwind
colors: {
custom: {
50: '#645e9d',
500: '#142474',
950: '#000000',
},
}SCSS
$custom: #142474; $custom-light: #645e9d; $custom-dark: #000000;
JSON
{
"hex": "#142474",
"rgb": {
"r": 20,
"g": 36,
"b": 116
},
"hsl": {
"h": 230,
"s": 70.588,
"l": 26.667
},
"oklch": {
"l": 0.30899,
"c": 0.1377,
"h": 267.9
},
"luminance": 0.02671
}Semantic roles & 50–950 ramp
primary
#142474
secondary
#AA973A
accent
#D03AED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E