#15308E#15308E
#15308E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.158 H 265.8°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #15308E |
|---|---|
| RGB | rgb(21, 48, 142) |
| HSL | hsl(227, 74%, 32%) |
| HSV | hsv(227, 85%, 56%) |
| CMYK | cmyk(85.2%, 66.2%, 0%, 44.3%) |
| CIE-LAB | lab(24.40, 27.63, -54.53) |
| CIE-LCH | lch(24.40, 61.13, 296.87°) |
| OKLab | oklab(35.89% -0.0115 -0.158) |
| OKLCH | oklch(35.89% 0.158 265.8) |
| XYZ | xyz(6.2470, 4.2256, 26.0723) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.64
Royal
#0C1793
ΔE00 6.81
Blueberry
#464196
ΔE00 7.15
Darkslateblue
#483D8B
ΔE00 7.44
Midnight Blue
#191970
ΔE00 7.47
Darkish Blue
#014182
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15308E #8E7315
analogous
#156C8E #15308E #37158E
triadic
#15308E #8E1530 #308E15
tetradic
#15308E #8E156C #8E7315 #158E37
square
#15308E #8E156C #8E7315 #158E37
split-complementary
#15308E #8E3715 #6C8E15
monochromatic
#050C23 #0D1E59 #15308E #1D42C3 #3B61E2
Accessibility & contrast
On white
11.38
#15308E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#15308E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15308E
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15308E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15308E | 1.00 | 11.38 | 1.85 | 11.38 |
| #FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #15308e; /* rgb */ color: rgb(21, 48, 142); /* oklch */ color: oklch(35.9% 0.158 265.8);
Tailwind
colors: {
custom: {
50: '#6b68b0',
500: '#15308e',
950: '#000000',
},
}SCSS
$custom: #15308e; $custom-light: #6b68b0; $custom-dark: #000000;
JSON
{
"hex": "#15308e",
"rgb": {
"r": 21,
"g": 48,
"b": 142
},
"hsl": {
"h": 226.612,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.35895,
"c": 0.15838,
"h": 265.8
},
"luminance": 0.04226
}Semantic roles & 50–950 ramp
primary
#15308E
secondary
#C2A43D
accent
#C737F1
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80