#15148F#15148F
#15148F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.188 H 269.1°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #15148F |
|---|---|
| RGB | rgb(21, 20, 143) |
| HSL | hsl(240, 75%, 32%) |
| HSV | hsv(240, 86%, 56%) |
| CMYK | cmyk(85.3%, 86%, 0%, 43.9%) |
| CIE-LAB | lab(18.55, 44.66, -64.83) |
| CIE-LCH | lch(18.55, 78.72, 304.56°) |
| OKLab | oklab(31.74% -0.0029 -0.1877) |
| OKLCH | oklch(31.74% 0.188 269.1) |
| XYZ | xyz(5.5157, 2.6422, 26.2006) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.91
Darkblue
#00008B
ΔE00 3.08
Cobalt Blue
#030AA7
ΔE00 3.32
Royal Blue (survey)
#0504AA
ΔE00 3.85
Navy
#000080
ΔE00 3.95
Indigo (survey)
#380282
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15148F #8E8F14
analogous
#14518F #15148F #53148F
triadic
#15148F #8F1514 #148F15
tetradic
#15148F #8F1451 #8E8F14 #148F53
square
#15148F #8F1451 #8E8F14 #148F53
split-complementary
#15148F #8F5314 #518F14
monochromatic
#050524 #0D0C59 #15148F #1D1CC5 #3B3AE3
Accessibility & contrast
On white
13.74
#15148F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#15148F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15148F
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15148F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15148F | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00268D
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #15148f; /* rgb */ color: rgb(21, 20, 143); /* oklch */ color: oklch(31.7% 0.188 269.1);
Tailwind
colors: {
custom: {
50: '#6e56b1',
500: '#15148f',
950: '#000000',
},
}SCSS
$custom: #15148f; $custom-light: #6e56b1; $custom-dark: #000000;
JSON
{
"hex": "#15148f",
"rgb": {
"r": 21,
"g": 20,
"b": 143
},
"hsl": {
"h": 240.488,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.31744,
"c": 0.18768,
"h": 269.1
},
"luminance": 0.02643
}Semantic roles & 50–950 ramp
primary
#15148F
secondary
#C2C33C
accent
#F236F1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880