#142E7F#142E7F
#142E7F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.140 H 265.5°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #142E7F |
|---|---|
| RGB | rgb(20, 46, 127) |
| HSL | hsl(225, 73%, 29%) |
| HSV | hsv(225, 84%, 50%) |
| CMYK | cmyk(84.3%, 63.8%, 0%, 50.2%) |
| CIE-LAB | lab(22.42, 22.90, -48.39) |
| CIE-LCH | lch(22.42, 53.54, 295.33°) |
| OKLab | oklab(33.99% -0.011 -0.14) |
| OKLCH | oklch(33.99% 0.14 265.5) |
| XYZ | xyz(5.0949, 3.6344, 20.5075) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.91
Midnight Blue
#191970
ΔE00 6.59
Sapphire (survey)
#2138AB
ΔE00 6.87
Marine Blue
#01386A
ΔE00 6.90
Darkish Blue
#014182
ΔE00 7.57
Royal
#0C1793
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142E7F #7F6514
analogous
#14647F #142E7F #30147F
triadic
#142E7F #7F142E #2E7F14
tetradic
#142E7F #7F1464 #7F6514 #147F30
square
#142E7F #7F1464 #7F6514 #147F30
split-complementary
#142E7F #7F3014 #647F14
monochromatic
#040A1A #0C1B4A #142E7F #1C41B4 #2F5ADE
Accessibility & contrast
On white
12.16
#142E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#142E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142E7F
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142E7F | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #142e7f; /* rgb */ color: rgb(20, 46, 127); /* oklch */ color: oklch(34.0% 0.140 265.5);
Tailwind
colors: {
custom: {
50: '#6666a5',
500: '#142e7f',
950: '#000000',
},
}SCSS
$custom: #142e7f; $custom-light: #6666a5; $custom-dark: #000000;
JSON
{
"hex": "#142e7f",
"rgb": {
"r": 20,
"g": 46,
"b": 127
},
"hsl": {
"h": 225.421,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.33989,
"c": 0.14047,
"h": 265.5
},
"luminance": 0.03635
}Semantic roles & 50–950 ramp
primary
#142E7F
secondary
#B4973B
accent
#C338EF
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F