#15137F#15137F
#15137F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.169 H 270.3°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).
Color values
| HEX | #15137F |
|---|---|
| RGB | rgb(21, 19, 127) |
| HSL | hsl(241, 74%, 29%) |
| HSV | hsv(241, 85%, 50%) |
| CMYK | cmyk(83.5%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(16.29, 39.96, -58.51) |
| CIE-LCH | lch(16.29, 70.85, 304.33°) |
| OKLab | oklab(29.59% 0.0008 -0.1694) |
| OKLCH | oklch(29.59% 0.169 270.3) |
| XYZ | xyz(4.3716, 2.1570, 20.2605) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.95
Midnight Blue
#191970
ΔE00 2.98
Navy
#000080
ΔE00 3.19
Darkblue
#00008B
ΔE00 3.36
Dark Royal Blue
#02066F
ΔE00 3.41
Deep Blue
#040273
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15137F #7D7F13
analogous
#13477F #15137F #4B137F
triadic
#15137F #7F1513 #137F15
tetradic
#15137F #7F1347 #7D7F13 #137F4B
square
#15137F #7F1347 #7D7F13 #137F4B
split-complementary
#15137F #7F4B13 #477F13
monochromatic
#04041B #0C0B4A #15137F #1E1BB4 #302DE0
Accessibility & contrast
On white
14.67
#15137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#15137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15137F
14.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15137F | 1.00 | 14.67 | 1.43 | 14.67 |
| #FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #15137f; /* rgb */ color: rgb(21, 19, 127); /* oklch */ color: oklch(29.6% 0.169 270.3);
Tailwind
colors: {
custom: {
50: '#6954a5',
500: '#15137f',
950: '#000000',
},
}SCSS
$custom: #15137f; $custom-light: #6954a5; $custom-dark: #000000;
JSON
{
"hex": "#15137f",
"rgb": {
"r": 21,
"g": 19,
"b": 127
},
"hsl": {
"h": 241.111,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.29585,
"c": 0.16936,
"h": 270.3
},
"luminance": 0.02157
}Semantic roles & 50–950 ramp
primary
#15137F
secondary
#B2B439
accent
#F137ED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F