#15187E#15187E
#15187E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.164 H 269.9°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).
Color values
| HEX | #15187E |
|---|---|
| RGB | rgb(21, 24, 126) |
| HSL | hsl(238, 71%, 29%) |
| HSV | hsv(238, 83%, 49%) |
| CMYK | cmyk(83.3%, 81%, 0%, 50.6%) |
| CIE-LAB | lab(17.08, 36.97, -56.57) |
| CIE-LCH | lch(17.08, 67.57, 303.16°) |
| OKLab | oklab(30.1% -0.0002 -0.1638) |
| OKLCH | oklch(30.1% 0.164 269.9) |
| XYZ | xyz(4.4005, 2.3185, 19.9502) |
| Luminance | 0.0232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.33
Royal
#0C1793
ΔE00 3.07
Dark Royal Blue
#02066F
ΔE00 4.12
Navy
#000080
ΔE00 4.29
Darkblue
#00008B
ΔE00 4.42
Deep Blue
#040273
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15187E #7E7B15
analogous
#154D7E #15187E #47157E
triadic
#15187E #7E1518 #187E15
tetradic
#15187E #7E154D #7E7B15 #157E47
square
#15187E #7E154D #7E7B15 #157E47
split-complementary
#15187E #7E4715 #4D7E15
monochromatic
#04051A #0C0E4A #15187E #1E22B2 #3136DD
Accessibility & contrast
On white
14.35
#15187E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#15187E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15187E
14.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15187E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15187E | 1.00 | 14.35 | 1.46 | 14.35 |
| #FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #15187e; /* rgb */ color: rgb(21, 24, 126); /* oklch */ color: oklch(30.1% 0.164 269.9);
Tailwind
colors: {
custom: {
50: '#6957a5',
500: '#15187e',
950: '#000000',
},
}SCSS
$custom: #15187e; $custom-light: #6957a5; $custom-dark: #000000;
JSON
{
"hex": "#15187e",
"rgb": {
"r": 21,
"g": 24,
"b": 126
},
"hsl": {
"h": 238.286,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.30098,
"c": 0.16383,
"h": 269.9
},
"luminance": 0.02319
}Semantic roles & 50–950 ramp
primary
#15187E
secondary
#B3B03C
accent
#E93AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F