#15147E#15147E
#15147E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.167 H 270.3°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).
Color values
| HEX | #15147E |
|---|---|
| RGB | rgb(21, 20, 126) |
| HSL | hsl(241, 73%, 29%) |
| HSV | hsv(241, 84%, 49%) |
| CMYK | cmyk(83.3%, 84.1%, 0%, 50.6%) |
| CIE-LAB | lab(16.33, 39.12, -57.80) |
| CIE-LCH | lch(16.33, 69.80, 304.09°) |
| OKLab | oklab(29.58% 0.0009 -0.1673) |
| OKLCH | oklch(29.58% 0.167 270.3) |
| XYZ | xyz(4.3240, 2.1656, 19.9247) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.73
Royal
#0C1793
ΔE00 3.05
Navy
#000080
ΔE00 3.41
Dark Royal Blue
#02066F
ΔE00 3.45
Deep Blue
#040273
ΔE00 3.62
Darkblue
#00008B
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15147E #7D7E14
analogous
#14487E #15147E #4A147E
triadic
#15147E #7E1514 #147E15
tetradic
#15147E #7E1448 #7D7E14 #147E4A
square
#15147E #7E1448 #7D7E14 #147E4A
split-complementary
#15147E #7E4A14 #487E14
monochromatic
#04041A #0C0C49 #15147E #1E1CB3 #302EDE
Accessibility & contrast
On white
14.65
#15147E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#15147E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15147E
14.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15147E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15147E | 1.00 | 14.65 | 1.43 | 14.65 |
| #FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #15147e; /* rgb */ color: rgb(21, 20, 126); /* oklch */ color: oklch(29.6% 0.167 270.3);
Tailwind
colors: {
custom: {
50: '#6955a5',
500: '#15147e',
950: '#000000',
},
}SCSS
$custom: #15147e; $custom-light: #6955a5; $custom-dark: #000000;
JSON
{
"hex": "#15147e",
"rgb": {
"r": 21,
"g": 20,
"b": 126
},
"hsl": {
"h": 240.566,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.29578,
"c": 0.16733,
"h": 270.3
},
"luminance": 0.02166
}Semantic roles & 50–950 ramp
primary
#15147E
secondary
#B2B33A
accent
#EF38EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F