#15167C#15167C
#15167C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.163 H 270.3°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #15167C |
|---|---|
| RGB | rgb(21, 22, 124) |
| HSL | hsl(239, 71%, 28%) |
| HSV | hsv(239, 83%, 49%) |
| CMYK | cmyk(83.1%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(16.44, 37.38, -56.34) |
| CIE-LCH | lch(16.44, 67.61, 303.57°) |
| OKLab | oklab(29.58% 0.0008 -0.1631) |
| OKLCH | oklch(29.58% 0.163 270.3) |
| XYZ | xyz(4.2330, 2.1880, 19.2641) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.22
Royal
#0C1793
ΔE00 3.33
Dark Royal Blue
#02066F
ΔE00 3.62
Navy
#000080
ΔE00 3.91
Deep Blue
#040273
ΔE00 3.93
Darkblue
#00008B
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15167C #7C7B15
analogous
#15497C #15167C #47157C
triadic
#15167C #7C1516 #167C15
tetradic
#15167C #7C1549 #7C7B15 #157C47
square
#15167C #7C1549 #7C7B15 #157C47
split-complementary
#15167C #7C4715 #497C15
monochromatic
#04051A #0C0D48 #15167C #1E1FB0 #3031DC
Accessibility & contrast
On white
14.61
#15167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#15167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15167C
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15167C | 1.00 | 14.61 | 1.44 | 14.61 |
| #FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00237A
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #15167c; /* rgb */ color: rgb(21, 22, 124); /* oklch */ color: oklch(29.6% 0.163 270.3);
Tailwind
colors: {
custom: {
50: '#6856a3',
500: '#15167c',
950: '#000000',
},
}SCSS
$custom: #15167c; $custom-light: #6856a3; $custom-dark: #000000;
JSON
{
"hex": "#15167c",
"rgb": {
"r": 21,
"g": 22,
"b": 124
},
"hsl": {
"h": 239.417,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.29582,
"c": 0.16314,
"h": 270.3
},
"luminance": 0.02188
}Semantic roles & 50–950 ramp
primary
#15167C
secondary
#B1B03C
accent
#EC3AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F