#15318E#15318E
#15318E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.157 H 265.6°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #15318E |
|---|---|
| RGB | rgb(21, 49, 142) |
| HSL | hsl(226, 74%, 32%) |
| HSV | hsv(226, 85%, 56%) |
| CMYK | cmyk(85.2%, 65.5%, 0%, 44.3%) |
| CIE-LAB | lab(24.67, 26.94, -54.10) |
| CIE-LCH | lch(24.67, 60.44, 296.47°) |
| OKLab | oklab(36.09% -0.012 -0.1567) |
| OKLCH | oklch(36.09% 0.157 265.6) |
| XYZ | xyz(6.2883, 4.3083, 26.0861) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.58
Blueberry
#464196
ΔE00 7.04
Royal
#0C1793
ΔE00 7.14
Darkslateblue
#483D8B
ΔE00 7.39
Darkish Blue
#014182
ΔE00 7.47
Midnight Blue
#191970
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15318E #8E7215
analogous
#156E8E #15318E #36158E
triadic
#15318E #8E1531 #318E15
tetradic
#15318E #8E156E #8E7215 #158E36
square
#15318E #8E156E #8E7215 #158E36
split-complementary
#15318E #8E3615 #6E8E15
monochromatic
#050C23 #0D1F59 #15318E #1D43C3 #3B62E2
Accessibility & contrast
On white
11.28
#15318E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#15318E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15318E
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15318E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15318E | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #15318e; /* rgb */ color: rgb(21, 49, 142); /* oklch */ color: oklch(36.1% 0.157 265.6);
Tailwind
colors: {
custom: {
50: '#6b68b0',
500: '#15318e',
950: '#000000',
},
}SCSS
$custom: #15318e; $custom-light: #6b68b0; $custom-dark: #000000;
JSON
{
"hex": "#15318e",
"rgb": {
"r": 21,
"g": 49,
"b": 142
},
"hsl": {
"h": 226.116,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.36089,
"c": 0.15715,
"h": 265.6
},
"luminance": 0.04309
}Semantic roles & 50–950 ramp
primary
#15318E
secondary
#C2A33D
accent
#C637F1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80