#142C74#142C74
#142C74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.127 H 265.5°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #142C74 |
|---|---|
| RGB | rgb(20, 44, 116) |
| HSL | hsl(225, 71%, 27%) |
| HSV | hsv(225, 83%, 45%) |
| CMYK | cmyk(82.8%, 62.1%, 0%, 54.5%) |
| CIE-LAB | lab(20.87, 19.80, -43.94) |
| CIE-LCH | lch(20.87, 48.20, 294.26°) |
| OKLab | oklab(32.52% -0.0099 -0.127) |
| OKLCH | oklch(32.52% 0.127 265.5) |
| XYZ | xyz(4.3404, 3.2105, 16.9105) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.70
Midnight Blue
#191970
ΔE00 6.29
Marine Blue
#01386A
ΔE00 6.53
Navy Blue
#1B2A4A
ΔE00 7.96
Darkish Blue
#014182
ΔE00 7.98
Royal
#0C1793
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142C74 #745C14
analogous
#145C74 #142C74 #2C1474
triadic
#142C74 #74142C #2C7414
tetradic
#142C74 #74145C #745C14 #14742C
square
#142C74 #74145C #745C14 #14742C
split-complementary
#142C74 #742C14 #5C7414
monochromatic
#050A1A #0B1840 #142C74 #1D40A8 #2855DA
Accessibility & contrast
On white
12.79
#142C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#142C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142C74
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142C74 | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #142c74; /* rgb */ color: rgb(20, 44, 116); /* oklch */ color: oklch(32.5% 0.127 265.5);
Tailwind
colors: {
custom: {
50: '#63649d',
500: '#142c74',
950: '#000000',
},
}SCSS
$custom: #142c74; $custom-light: #63649d; $custom-dark: #000000;
JSON
{
"hex": "#142c74",
"rgb": {
"r": 20,
"g": 44,
"b": 116
},
"hsl": {
"h": 225,
"s": 70.588,
"l": 26.667
},
"oklch": {
"l": 0.32521,
"c": 0.12739,
"h": 265.5
},
"luminance": 0.03211
}Semantic roles & 50–950 ramp
primary
#142C74
secondary
#AA8E3A
accent
#C13AED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E