#15137E#15137E
#15137E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.168 H 270.4°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).
Color values
| HEX | #15137E |
|---|---|
| RGB | rgb(21, 19, 126) |
| HSL | hsl(241, 74%, 28%) |
| HSV | hsv(241, 85%, 49%) |
| CMYK | cmyk(83.3%, 84.9%, 0%, 50.6%) |
| CIE-LAB | lab(16.16, 39.63, -58.09) |
| CIE-LCH | lch(16.16, 70.32, 304.31°) |
| OKLab | oklab(29.46% 0.0011 -0.1681) |
| OKLCH | oklch(29.46% 0.168 270.4) |
| XYZ | xyz(4.3068, 2.1310, 19.9190) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.86
Royal
#0C1793
ΔE00 3.09
Navy
#000080
ΔE00 3.21
Dark Royal Blue
#02066F
ΔE00 3.31
Deep Blue
#040273
ΔE00 3.44
Darkblue
#00008B
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15137E #7C7E13
analogous
#13467E #15137E #4A137E
triadic
#15137E #7E1513 #137E15
tetradic
#15137E #7E1346 #7C7E13 #137E4A
square
#15137E #7E1346 #7C7E13 #137E4A
split-complementary
#15137E #7E4A13 #467E13
monochromatic
#04041B #0C0B49 #15137E #1E1BB3 #302CDF
Accessibility & contrast
On white
14.72
#15137E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#15137E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15137E
14.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15137E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15137E | 1.00 | 14.72 | 1.43 | 14.72 |
| #FFFFFF | 14.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00227C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #15137e; /* rgb */ color: rgb(21, 19, 126); /* oklch */ color: oklch(29.5% 0.168 270.4);
Tailwind
colors: {
custom: {
50: '#6954a5',
500: '#15137e',
950: '#000000',
},
}SCSS
$custom: #15137e; $custom-light: #6954a5; $custom-dark: #000000;
JSON
{
"hex": "#15137e",
"rgb": {
"r": 21,
"g": 19,
"b": 126
},
"hsl": {
"h": 241.121,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.29458,
"c": 0.16814,
"h": 270.4
},
"luminance": 0.02132
}Semantic roles & 50–950 ramp
primary
#15137E
secondary
#B1B439
accent
#F037ED
background
#F6F5FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F