#15137C#15137C
#15137C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.166 H 270.5°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).
Color values
| HEX | #15137C |
|---|---|
| RGB | rgb(21, 19, 124) |
| HSL | hsl(241, 73%, 28%) |
| HSV | hsv(241, 85%, 49%) |
| CMYK | cmyk(83.1%, 84.7%, 0%, 51.4%) |
| CIE-LAB | lab(15.90, 38.97, -57.24) |
| CIE-LCH | lch(15.90, 69.25, 304.25°) |
| OKLab | oklab(29.2% 0.0015 -0.1657) |
| OKLCH | oklch(29.2% 0.166 270.5) |
| XYZ | xyz(4.1790, 2.0799, 19.2461) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.61
Dark Royal Blue
#02066F
ΔE00 3.13
Navy
#000080
ΔE00 3.27
Deep Blue
#040273
ΔE00 3.33
Royal
#0C1793
ΔE00 3.38
Darkblue
#00008B
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15137C #7A7C13
analogous
#13457C #15137C #49137C
triadic
#15137C #7C1513 #137C15
tetradic
#15137C #7C1345 #7A7C13 #137C49
square
#15137C #7C1345 #7A7C13 #137C49
split-complementary
#15137C #7C4913 #457C13
monochromatic
#04041B #0C0B47 #15137C #1E1BB1 #2E2BDF
Accessibility & contrast
On white
14.83
#15137C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#15137C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15137C
14.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15137C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15137C | 1.00 | 14.83 | 1.42 | 14.83 |
| #FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00227A
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #15137c; /* rgb */ color: rgb(21, 19, 124); /* oklch */ color: oklch(29.2% 0.166 270.5);
Tailwind
colors: {
custom: {
50: '#6954a3',
500: '#15137c',
950: '#000000',
},
}SCSS
$custom: #15137c; $custom-light: #6954a3; $custom-dark: #000000;
JSON
{
"hex": "#15137c",
"rgb": {
"r": 21,
"g": 19,
"b": 124
},
"hsl": {
"h": 241.143,
"s": 73.427,
"l": 28.039
},
"oklch": {
"l": 0.29204,
"c": 0.16571,
"h": 270.5
},
"luminance": 0.0208
}Semantic roles & 50–950 ramp
primary
#15137C
secondary
#AFB239
accent
#F038ED
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F