#14227E#14227E
#14227E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.154 H 268.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #14227E |
|---|---|
| RGB | rgb(20, 34, 126) |
| HSL | hsl(232, 73%, 29%) |
| HSV | hsv(232, 84%, 49%) |
| CMYK | cmyk(84.1%, 73%, 0%, 50.6%) |
| CIE-LAB | lab(19.22, 30.74, -53.03) |
| CIE-LCH | lch(19.22, 61.29, 300.10°) |
| OKLab | oklab(31.61% -0.0048 -0.1536) |
| OKLCH | oklch(31.61% 0.154 268.2) |
| XYZ | xyz(4.6251, 2.7986, 20.0310) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.13
Royal
#0C1793
ΔE00 4.42
Dark Royal Blue
#02066F
ΔE00 6.51
Darkblue
#00008B
ΔE00 6.98
Navy
#000080
ΔE00 6.99
Deep Blue
#040273
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#14227E #7E7014
analogous
#14577E #14227E #3B147E
triadic
#14227E #7E1422 #227E14
tetradic
#14227E #7E1457 #7E7014 #147E3B
square
#14227E #7E1457 #7E7014 #147E3B
split-complementary
#14227E #7E3B14 #577E14
monochromatic
#04071A #0C1449 #14227E #1C30B3 #2E46DE
Accessibility & contrast
On white
13.46
#14227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#14227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #14227E
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##14227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##14227E | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #14227e; /* rgb */ color: rgb(20, 34, 126); /* oklch */ color: oklch(31.6% 0.154 268.2);
Tailwind
colors: {
custom: {
50: '#675da4',
500: '#14227e',
950: '#000000',
},
}SCSS
$custom: #14227e; $custom-light: #675da4; $custom-dark: #000000;
JSON
{
"hex": "#14227e",
"rgb": {
"r": 20,
"g": 34,
"b": 126
},
"hsl": {
"h": 232.075,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.3161,
"c": 0.15372,
"h": 268.2
},
"luminance": 0.02799
}Semantic roles & 50–950 ramp
primary
#14227E
secondary
#B3A33A
accent
#D738EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F