#15217F#15217F
#15217F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.156 H 268.7°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).
Color values
| HEX | #15217F |
|---|---|
| RGB | rgb(21, 33, 127) |
| HSL | hsl(233, 72%, 29%) |
| HSV | hsv(233, 83%, 50%) |
| CMYK | cmyk(83.5%, 74%, 0%, 50.2%) |
| CIE-LAB | lab(19.14, 31.85, -53.80) |
| CIE-LCH | lch(19.14, 62.52, 300.63°) |
| OKLab | oklab(31.6% -0.0035 -0.1559) |
| OKLCH | oklch(31.6% 0.156 268.7) |
| XYZ | xyz(4.6826, 2.7789, 20.3641) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.99
Royal
#0C1793
ΔE00 4.05
Dark Royal Blue
#02066F
ΔE00 6.24
Darkblue
#00008B
ΔE00 6.59
Navy
#000080
ΔE00 6.63
Deep Blue
#040273
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15217F #7F7315
analogous
#15567F #15217F #3E157F
triadic
#15217F #7F1521 #217F15
tetradic
#15217F #7F1556 #7F7315 #157F3E
square
#15217F #7F1556 #7F7315 #157F3E
split-complementary
#15217F #7F3E15 #567F15
monochromatic
#04071A #0C134A #15217F #1E2FB4 #3145DD
Accessibility & contrast
On white
13.50
#15217F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#15217F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15217F
13.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15217F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15217F | 1.00 | 13.50 | 1.56 | 13.50 |
| #FFFFFF | 13.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.50 | 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: #15217f; /* rgb */ color: rgb(21, 33, 127); /* oklch */ color: oklch(31.6% 0.156 268.7);
Tailwind
colors: {
custom: {
50: '#685da5',
500: '#15217f',
950: '#000000',
},
}SCSS
$custom: #15217f; $custom-light: #685da5; $custom-dark: #000000;
JSON
{
"hex": "#15217f",
"rgb": {
"r": 21,
"g": 33,
"b": 127
},
"hsl": {
"h": 233.208,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.31595,
"c": 0.15591,
"h": 268.7
},
"luminance": 0.02779
}Semantic roles & 50–950 ramp
primary
#15217F
secondary
#B4A63C
accent
#DA39EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F