#142C7D#142C7D
#142C7D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.140 H 266.0°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).
Color values
| HEX | #142C7D |
|---|---|
| RGB | rgb(20, 44, 125) |
| HSL | hsl(226, 72%, 28%) |
| HSV | hsv(226, 84%, 49%) |
| CMYK | cmyk(84%, 64.8%, 0%, 51%) |
| CIE-LAB | lab(21.69, 23.50, -48.33) |
| CIE-LCH | lch(21.69, 53.74, 295.93°) |
| OKLab | oklab(33.39% -0.0098 -0.1399) |
| OKLCH | oklch(33.39% 0.14 266) |
| XYZ | xyz(4.8895, 3.4302, 19.8024) |
| Luminance | 0.0343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.94
Marine
#042E60
ΔE00 6.00
Royal
#0C1793
ΔE00 7.23
Sapphire (survey)
#2138AB
ΔE00 7.27
Marine Blue
#01386A
ΔE00 7.30
Darkish Blue
#014182
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142C7D #7D6514
analogous
#14607D #142C7D #30147D
triadic
#142C7D #7D142C #2C7D14
tetradic
#142C7D #7D1460 #7D6514 #147D30
square
#142C7D #7D1460 #7D6514 #147D30
split-complementary
#142C7D #7D3014 #607D14
monochromatic
#04091A #0C1948 #142C7D #1C3FB2 #2E56DE
Accessibility & contrast
On white
12.45
#142C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#142C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142C7D
12.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142C7D | 1.00 | 12.45 | 1.69 | 12.45 |
| #FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #142c7d; /* rgb */ color: rgb(20, 44, 125); /* oklch */ color: oklch(33.4% 0.140 266.0);
Tailwind
colors: {
custom: {
50: '#6664a3',
500: '#142c7d',
950: '#000000',
},
}SCSS
$custom: #142c7d; $custom-light: #6664a3; $custom-dark: #000000;
JSON
{
"hex": "#142c7d",
"rgb": {
"r": 20,
"g": 44,
"b": 125
},
"hsl": {
"h": 226.286,
"s": 72.414,
"l": 28.431
},
"oklch": {
"l": 0.33387,
"c": 0.14022,
"h": 266
},
"luminance": 0.03431
}Semantic roles & 50–950 ramp
primary
#142C7D
secondary
#B2973A
accent
#C539EF
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F