#15167B#15167B
#15167B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.162 H 270.3°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #15167B |
|---|---|
| RGB | rgb(21, 22, 123) |
| HSL | hsl(239, 71%, 28%) |
| HSV | hsv(239, 83%, 48%) |
| CMYK | cmyk(82.9%, 82.1%, 0%, 51.8%) |
| CIE-LAB | lab(16.32, 37.04, -55.91) |
| CIE-LCH | lch(16.32, 67.06, 303.53°) |
| OKLab | oklab(29.46% 0.001 -0.1619) |
| OKLCH | oklch(29.46% 0.162 270.3) |
| XYZ | xyz(4.1701, 2.1628, 18.9327) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.07
Royal
#0C1793
ΔE00 3.48
Dark Royal Blue
#02066F
ΔE00 3.55
Deep Blue
#040273
ΔE00 3.90
Navy
#000080
ΔE00 3.95
Darkblue
#00008B
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15167B #7B7A15
analogous
#15497B #15167B #47157B
triadic
#15167B #7B1516 #167B15
tetradic
#15167B #7B1549 #7B7A15 #157B47
square
#15167B #7B1549 #7B7A15 #157B47
split-complementary
#15167B #7B4715 #497B15
monochromatic
#04051A #0C0D47 #15167B #1E1FAF #2F31DB
Accessibility & contrast
On white
14.66
#15167B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#15167B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15167B
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15167B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15167B | 1.00 | 14.66 | 1.43 | 14.66 |
| #FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002379
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #15167b; /* rgb */ color: rgb(21, 22, 123); /* oklch */ color: oklch(29.5% 0.162 270.3);
Tailwind
colors: {
custom: {
50: '#6855a2',
500: '#15167b',
950: '#000000',
},
}SCSS
$custom: #15167b; $custom-light: #6855a2; $custom-dark: #000000;
JSON
{
"hex": "#15167b",
"rgb": {
"r": 21,
"g": 22,
"b": 123
},
"hsl": {
"h": 239.412,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.29459,
"c": 0.16189,
"h": 270.3
},
"luminance": 0.02163
}Semantic roles & 50–950 ramp
primary
#15167B
secondary
#B0AF3B
accent
#EC3AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F