#14157E#14157E
#14157E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.167 H 269.8°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).
Color values
| HEX | #14157E |
|---|---|
| RGB | rgb(20, 21, 126) |
| HSL | hsl(239, 73%, 29%) |
| HSV | hsv(239, 84%, 49%) |
| CMYK | cmyk(84.1%, 83.3%, 0%, 50.6%) |
| CIE-LAB | lab(16.46, 38.55, -57.59) |
| CIE-LCH | lch(16.46, 69.30, 303.79°) |
| OKLab | oklab(29.65% -0.0005 -0.1668) |
| OKLCH | oklch(29.65% 0.167 269.8) |
| XYZ | xyz(4.3213, 2.1909, 19.9298) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.61
Royal
#0C1793
ΔE00 3.03
Dark Royal Blue
#02066F
ΔE00 3.58
Navy
#000080
ΔE00 3.61
Deep Blue
#040273
ΔE00 3.80
Darkblue
#00008B
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#14157E #7E7D14
analogous
#144A7E #14157E #48147E
triadic
#14157E #7E1415 #157E14
tetradic
#14157E #7E144A #7E7D14 #147E48
square
#14157E #7E144A #7E7D14 #147E48
split-complementary
#14157E #7E4814 #4A7E14
monochromatic
#04041A #0C0C49 #14157E #1C1EB3 #2E30DE
Accessibility & contrast
On white
14.60
#14157E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#14157E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #14157E
14.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##14157E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##14157E | 1.00 | 14.60 | 1.44 | 14.60 |
| #FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #14157e; /* rgb */ color: rgb(20, 21, 126); /* oklch */ color: oklch(29.7% 0.167 269.8);
Tailwind
colors: {
custom: {
50: '#6955a5',
500: '#14157e',
950: '#000000',
},
}SCSS
$custom: #14157e; $custom-light: #6955a5; $custom-dark: #000000;
JSON
{
"hex": "#14157e",
"rgb": {
"r": 20,
"g": 21,
"b": 126
},
"hsl": {
"h": 239.434,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.29651,
"c": 0.16677,
"h": 269.8
},
"luminance": 0.02191
}Semantic roles & 50–950 ramp
primary
#14157E
secondary
#B3B23A
accent
#EE38EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F