#15227E#15227E
#15227E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.153 H 268.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #15227E |
|---|---|
| RGB | rgb(21, 34, 126) |
| HSL | hsl(233, 71%, 29%) |
| HSV | hsv(233, 83%, 49%) |
| CMYK | cmyk(83.3%, 73%, 0%, 50.6%) |
| CIE-LAB | lab(19.26, 30.82, -52.95) |
| CIE-LCH | lch(19.26, 61.27, 300.20°) |
| OKLab | oklab(31.65% -0.0039 -0.1534) |
| OKLCH | oklch(31.65% 0.153 268.6) |
| XYZ | xyz(4.6459, 2.8093, 20.0320) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.10
Royal
#0C1793
ΔE00 4.40
Dark Royal Blue
#02066F
ΔE00 6.50
Darkblue
#00008B
ΔE00 6.96
Navy
#000080
ΔE00 6.97
Deep Blue
#040273
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15227E #7E7115
analogous
#15577E #15227E #3D157E
triadic
#15227E #7E1522 #227E15
tetradic
#15227E #7E1557 #7E7115 #157E3D
square
#15227E #7E1557 #7E7115 #157E3D
split-complementary
#15227E #7E3D15 #577E15
monochromatic
#04071A #0C144A #15227E #1E30B2 #3146DD
Accessibility & contrast
On white
13.44
#15227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#15227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15227E
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15227E | 1.00 | 13.44 | 1.56 | 13.44 |
| #FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #15227e; /* rgb */ color: rgb(21, 34, 126); /* oklch */ color: oklch(31.7% 0.153 268.6);
Tailwind
colors: {
custom: {
50: '#685da4',
500: '#15227e',
950: '#000000',
},
}SCSS
$custom: #15227e; $custom-light: #685da4; $custom-dark: #000000;
JSON
{
"hex": "#15227e",
"rgb": {
"r": 21,
"g": 34,
"b": 126
},
"hsl": {
"h": 232.571,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.31654,
"c": 0.15346,
"h": 268.6
},
"luminance": 0.0281
}Semantic roles & 50–950 ramp
primary
#15227E
secondary
#B3A43C
accent
#D83AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F