#14217F#14217F
#14217F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.156 H 268.4°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #14217F |
|---|---|
| RGB | rgb(20, 33, 127) |
| HSL | hsl(233, 73%, 29%) |
| HSV | hsv(233, 84%, 50%) |
| CMYK | cmyk(84.3%, 74%, 0%, 50.2%) |
| CIE-LAB | lab(19.09, 31.77, -53.87) |
| CIE-LCH | lch(19.09, 62.54, 300.53°) |
| OKLab | oklab(31.55% -0.0045 -0.1561) |
| OKLCH | oklch(31.55% 0.156 268.4) |
| XYZ | xyz(4.6618, 2.7682, 20.3632) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.01
Royal
#0C1793
ΔE00 4.07
Dark Royal Blue
#02066F
ΔE00 6.25
Darkblue
#00008B
ΔE00 6.61
Navy
#000080
ΔE00 6.64
Deep Blue
#040273
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#14217F #7F7214
analogous
#14577F #14217F #3D147F
triadic
#14217F #7F1421 #217F14
tetradic
#14217F #7F1457 #7F7214 #147F3D
square
#14217F #7F1457 #7F7214 #147F3D
split-complementary
#14217F #7F3D14 #577F14
monochromatic
#04071A #0C134A #14217F #1C2FB4 #2F44DE
Accessibility & contrast
On white
13.52
#14217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#14217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #14217F
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##14217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##14217F | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #14217f; /* rgb */ color: rgb(20, 33, 127); /* oklch */ color: oklch(31.6% 0.156 268.4);
Tailwind
colors: {
custom: {
50: '#685da5',
500: '#14217f',
950: '#000000',
},
}SCSS
$custom: #14217f; $custom-light: #685da5; $custom-dark: #000000;
JSON
{
"hex": "#14217f",
"rgb": {
"r": 20,
"g": 33,
"b": 127
},
"hsl": {
"h": 232.71,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.3155,
"c": 0.15617,
"h": 268.4
},
"luminance": 0.02769
}Semantic roles & 50–950 ramp
primary
#14217F
secondary
#B4A53B
accent
#D938EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F