#14227F#14227F
#14227F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.155 H 268.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #14227F |
|---|---|
| RGB | rgb(20, 34, 127) |
| HSL | hsl(232, 73%, 29%) |
| HSV | hsv(232, 84%, 50%) |
| CMYK | cmyk(84.3%, 73.2%, 0%, 50.2%) |
| CIE-LAB | lab(19.33, 31.12, -53.48) |
| CIE-LCH | lch(19.33, 61.88, 300.20°) |
| OKLab | oklab(31.72% -0.0049 -0.155) |
| OKLCH | oklch(31.72% 0.155 268.2) |
| XYZ | xyz(4.6900, 2.8245, 20.3726) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.20
Royal
#0C1793
ΔE00 4.28
Dark Royal Blue
#02066F
ΔE00 6.52
Darkblue
#00008B
ΔE00 6.89
Navy
#000080
ΔE00 6.94
Deep Blue
#040273
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#14227F #7F7114
analogous
#14587F #14227F #3C147F
triadic
#14227F #7F1422 #227F14
tetradic
#14227F #7F1458 #7F7114 #147F3C
square
#14227F #7F1458 #7F7114 #147F3C
split-complementary
#14227F #7F3C14 #587F14
monochromatic
#04071A #0C144A #14227F #1C30B4 #2F46DE
Accessibility & contrast
On white
13.42
#14227F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#14227F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #14227F
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##14227F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##14227F | 1.00 | 13.42 | 1.57 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #14227f; /* rgb */ color: rgb(20, 34, 127); /* oklch */ color: oklch(31.7% 0.155 268.2);
Tailwind
colors: {
custom: {
50: '#685da5',
500: '#14227f',
950: '#000000',
},
}SCSS
$custom: #14227f; $custom-light: #685da5; $custom-dark: #000000;
JSON
{
"hex": "#14227f",
"rgb": {
"r": 20,
"g": 34,
"b": 127
},
"hsl": {
"h": 232.15,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.3172,
"c": 0.15506,
"h": 268.2
},
"luminance": 0.02825
}Semantic roles & 50–950 ramp
primary
#14227F
secondary
#B4A43B
accent
#D838EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F