#15308F#15308F
#15308F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.160 H 265.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #15308F |
|---|---|
| RGB | rgb(21, 48, 143) |
| HSL | hsl(227, 74%, 32%) |
| HSV | hsv(227, 85%, 56%) |
| CMYK | cmyk(85.3%, 66.4%, 0%, 43.9%) |
| CIE-LAB | lab(24.50, 28.02, -55.00) |
| CIE-LCH | lch(24.50, 61.72, 297.00°) |
| OKLab | oklab(35.99% -0.0115 -0.1593) |
| OKLCH | oklch(35.99% 0.16 265.9) |
| XYZ | xyz(6.3224, 4.2557, 26.4695) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.51
Royal
#0C1793
ΔE00 6.75
Blueberry
#464196
ΔE00 7.11
Darkslateblue
#483D8B
ΔE00 7.44
Midnight Blue
#191970
ΔE00 7.52
Darkish Blue
#014182
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15308F #8F7415
analogous
#156D8F #15308F #37158F
triadic
#15308F #8F1530 #308F15
tetradic
#15308F #8F156D #8F7415 #158F37
square
#15308F #8F156D #8F7415 #158F37
split-complementary
#15308F #8F3715 #6D8F15
monochromatic
#050C24 #0D1E5A #15308F #1D42C4 #3C61E2
Accessibility & contrast
On white
11.34
#15308F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#15308F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15308F
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15308F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15308F | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #15308f; /* rgb */ color: rgb(21, 48, 143); /* oklch */ color: oklch(36.0% 0.160 265.9);
Tailwind
colors: {
custom: {
50: '#6b68b1',
500: '#15308f',
950: '#000000',
},
}SCSS
$custom: #15308f; $custom-light: #6b68b1; $custom-dark: #000000;
JSON
{
"hex": "#15308f",
"rgb": {
"r": 21,
"g": 48,
"b": 143
},
"hsl": {
"h": 226.721,
"s": 74.39,
"l": 32.157
},
"oklch": {
"l": 0.35995,
"c": 0.15973,
"h": 265.9
},
"luminance": 0.04257
}Semantic roles & 50–950 ramp
primary
#15308F
secondary
#C2A53E
accent
#C837F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80