#15147F#15147F
#15147F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.169 H 270.2°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).
Color values
| HEX | #15147F |
|---|---|
| RGB | rgb(21, 20, 127) |
| HSL | hsl(241, 73%, 29%) |
| HSV | hsv(241, 84%, 50%) |
| CMYK | cmyk(83.5%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(16.46, 39.46, -58.22) |
| CIE-LCH | lch(16.46, 70.33, 304.13°) |
| OKLab | oklab(29.7% 0.0006 -0.1686) |
| OKLCH | oklch(29.7% 0.169 270.2) |
| XYZ | xyz(4.3889, 2.1915, 20.2663) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.86
Royal
#0C1793
ΔE00 2.91
Navy
#000080
ΔE00 3.39
Darkblue
#00008B
ΔE00 3.53
Dark Royal Blue
#02066F
ΔE00 3.54
Deep Blue
#040273
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15147F #7E7F14
analogous
#14497F #15147F #4B147F
triadic
#15147F #7F1514 #147F15
tetradic
#15147F #7F1449 #7E7F14 #147F4B
square
#15147F #7F1449 #7E7F14 #147F4B
split-complementary
#15147F #7F4B14 #497F14
monochromatic
#04041A #0C0C4A #15147F #1E1CB4 #312FDE
Accessibility & contrast
On white
14.60
#15147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#15147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15147F
14.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15147F | 1.00 | 14.60 | 1.44 | 14.60 |
| #FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #15147f; /* rgb */ color: rgb(21, 20, 127); /* oklch */ color: oklch(29.7% 0.169 270.2);
Tailwind
colors: {
custom: {
50: '#6955a5',
500: '#15147f',
950: '#000000',
},
}SCSS
$custom: #15147f; $custom-light: #6955a5; $custom-dark: #000000;
JSON
{
"hex": "#15147f",
"rgb": {
"r": 21,
"g": 20,
"b": 127
},
"hsl": {
"h": 240.561,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.29704,
"c": 0.16856,
"h": 270.2
},
"luminance": 0.02192
}Semantic roles & 50–950 ramp
primary
#15147F
secondary
#B3B43B
accent
#EF38EE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F