#15318D#15318D
#15318D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.156 H 265.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #15318D |
|---|---|
| RGB | rgb(21, 49, 141) |
| HSL | hsl(226, 74%, 32%) |
| HSV | hsv(226, 85%, 55%) |
| CMYK | cmyk(85.1%, 65.2%, 0%, 44.7%) |
| CIE-LAB | lab(24.57, 26.55, -53.64) |
| CIE-LCH | lch(24.57, 59.85, 296.33°) |
| OKLab | oklab(35.99% -0.012 -0.1553) |
| OKLCH | oklch(35.99% 0.156 265.6) |
| XYZ | xyz(6.2136, 4.2784, 25.6925) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.72
Blueberry
#464196
ΔE00 7.07
Royal
#0C1793
ΔE00 7.21
Darkslateblue
#483D8B
ΔE00 7.40
Darkish Blue
#014182
ΔE00 7.40
Marine
#042E60
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15318D #8D7115
analogous
#156D8D #15318D #35158D
triadic
#15318D #8D1531 #318D15
tetradic
#15318D #8D156D #8D7115 #158D35
square
#15318D #8D156D #8D7115 #158D35
split-complementary
#15318D #8D3515 #6D8D15
monochromatic
#050C22 #0D1E58 #15318D #1D44C2 #3B62E2
Accessibility & contrast
On white
11.32
#15318D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#15318D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15318D
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15318D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15318D | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #15318d; /* rgb */ color: rgb(21, 49, 141); /* oklch */ color: oklch(36.0% 0.156 265.6);
Tailwind
colors: {
custom: {
50: '#6a68af',
500: '#15318d',
950: '#000000',
},
}SCSS
$custom: #15318d; $custom-light: #6a68af; $custom-dark: #000000;
JSON
{
"hex": "#15318d",
"rgb": {
"r": 21,
"g": 49,
"b": 141
},
"hsl": {
"h": 226,
"s": 74.074,
"l": 31.765
},
"oklch": {
"l": 0.3599,
"c": 0.15579,
"h": 265.6
},
"luminance": 0.04279
}Semantic roles & 50–950 ramp
primary
#15318D
secondary
#C1A23D
accent
#C537F1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F