#15318F#15318F
#15318F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.159 H 265.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #15318F |
|---|---|
| RGB | rgb(21, 49, 143) |
| HSL | hsl(226, 74%, 32%) |
| HSV | hsv(226, 85%, 56%) |
| CMYK | cmyk(85.3%, 65.7%, 0%, 43.9%) |
| CIE-LAB | lab(24.76, 27.34, -54.57) |
| CIE-LCH | lch(24.76, 61.03, 296.61°) |
| OKLab | oklab(36.19% -0.012 -0.158) |
| OKLCH | oklch(36.19% 0.159 265.6) |
| XYZ | xyz(6.3638, 4.3384, 26.4833) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Blueberry
#464196
ΔE00 7.00
Royal
#0C1793
ΔE00 7.07
Darkslateblue
#483D8B
ΔE00 7.38
Darkish Blue
#014182
ΔE00 7.54
Cobalt
#0047AB
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15318F #8F7315
analogous
#156E8F #15318F #36158F
triadic
#15318F #8F1531 #318F15
tetradic
#15318F #8F156E #8F7315 #158F36
square
#15318F #8F156E #8F7315 #158F36
split-complementary
#15318F #8F3615 #6E8F15
monochromatic
#050C24 #0D1F5A #15318F #1D43C4 #3C62E2
Accessibility & contrast
On white
11.24
#15318F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#15318F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15318F
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15318F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15318F | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #15318f; /* rgb */ color: rgb(21, 49, 143); /* oklch */ color: oklch(36.2% 0.159 265.6);
Tailwind
colors: {
custom: {
50: '#6b68b1',
500: '#15318f',
950: '#000000',
},
}SCSS
$custom: #15318f; $custom-light: #6b68b1; $custom-dark: #000000;
JSON
{
"hex": "#15318f",
"rgb": {
"r": 21,
"g": 49,
"b": 143
},
"hsl": {
"h": 226.23,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.36187,
"c": 0.15851,
"h": 265.6
},
"luminance": 0.04339
}Semantic roles & 50–950 ramp
primary
#15318F
secondary
#C2A43E
accent
#C637F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80