#15197E#15197E
#15197E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.2% C 0.163 H 269.8°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #15197E |
|---|---|
| RGB | rgb(21, 25, 126) |
| HSL | hsl(238, 71%, 29%) |
| HSV | hsv(238, 83%, 49%) |
| CMYK | cmyk(83.3%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(17.28, 36.39, -56.24) |
| CIE-LCH | lch(17.28, 66.99, 302.91°) |
| OKLab | oklab(30.24% -0.0005 -0.1629) |
| OKLCH | oklch(30.24% 0.163 269.8) |
| XYZ | xyz(4.4215, 2.3605, 19.9572) |
| Luminance | 0.0236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.27
Royal
#0C1793
ΔE00 3.11
Dark Royal Blue
#02066F
ΔE00 4.31
Navy
#000080
ΔE00 4.53
Darkblue
#00008B
ΔE00 4.64
Deep Blue
#040273
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15197E #7E7A15
analogous
#154E7E #15197E #46157E
triadic
#15197E #7E1519 #197E15
tetradic
#15197E #7E154E #7E7A15 #157E46
square
#15197E #7E154E #7E7A15 #157E46
split-complementary
#15197E #7E4615 #4E7E15
monochromatic
#04051A #0C0F4A #15197E #1E23B2 #3137DD
Accessibility & contrast
On white
14.26
#15197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#15197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15197E
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15197E | 1.00 | 14.26 | 1.47 | 14.26 |
| #FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #15197e; /* rgb */ color: rgb(21, 25, 126); /* oklch */ color: oklch(30.2% 0.163 269.8);
Tailwind
colors: {
custom: {
50: '#6957a5',
500: '#15197e',
950: '#000000',
},
}SCSS
$custom: #15197e; $custom-light: #6957a5; $custom-dark: #000000;
JSON
{
"hex": "#15197e",
"rgb": {
"r": 21,
"g": 25,
"b": 126
},
"hsl": {
"h": 237.714,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.30237,
"c": 0.16289,
"h": 269.8
},
"luminance": 0.02361
}Semantic roles & 50–950 ramp
primary
#15197E
secondary
#B3AF3C
accent
#E73AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F