#15148E#15148E
#15148E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.187 H 269.2°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).
Color values
| HEX | #15148E |
|---|---|
| RGB | rgb(21, 20, 142) |
| HSL | hsl(240, 75%, 32%) |
| HSV | hsv(240, 86%, 56%) |
| CMYK | cmyk(85.2%, 85.9%, 0%, 44.3%) |
| CIE-LAB | lab(18.42, 44.34, -64.42) |
| CIE-LCH | lch(18.42, 78.21, 304.54°) |
| OKLab | oklab(31.62% -0.0027 -0.1865) |
| OKLCH | oklch(31.62% 0.187 269.2) |
| XYZ | xyz(5.4402, 2.6121, 25.8034) |
| Luminance | 0.0261 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.99
Darkblue
#00008B
ΔE00 3.06
Cobalt Blue
#030AA7
ΔE00 3.45
Navy
#000080
ΔE00 3.87
Royal Blue (survey)
#0504AA
ΔE00 3.98
Indigo (survey)
#380282
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15148E #8D8E14
analogous
#14508E #15148E #52148E
triadic
#15148E #8E1514 #148E15
tetradic
#15148E #8E1450 #8D8E14 #148E52
square
#15148E #8E1450 #8D8E14 #148E52
split-complementary
#15148E #8E5214 #508E14
monochromatic
#050523 #0D0C58 #15148E #1D1CC4 #3B39E3
Accessibility & contrast
On white
13.79
#15148E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#15148E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15148E
13.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15148E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15148E | 1.00 | 13.79 | 1.52 | 13.79 |
| #FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #15148e; /* rgb */ color: rgb(21, 20, 142); /* oklch */ color: oklch(31.6% 0.187 269.2);
Tailwind
colors: {
custom: {
50: '#6e56b0',
500: '#15148e',
950: '#000000',
},
}SCSS
$custom: #15148e; $custom-light: #6e56b0; $custom-dark: #000000;
JSON
{
"hex": "#15148e",
"rgb": {
"r": 21,
"g": 20,
"b": 142
},
"hsl": {
"h": 240.492,
"s": 75.309,
"l": 31.765
},
"oklch": {
"l": 0.31616,
"c": 0.18651,
"h": 269.2
},
"luminance": 0.02613
}Semantic roles & 50–950 ramp
primary
#15148E
secondary
#C1C23C
accent
#F236F0
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880