#15167E#15167E
#15167E is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.8% C 0.166 H 270.1°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #15167E |
|---|---|
| RGB | rgb(21, 22, 126) |
| HSL | hsl(239, 71%, 29%) |
| HSV | hsv(239, 83%, 49%) |
| CMYK | cmyk(83.3%, 82.5%, 0%, 50.6%) |
| CIE-LAB | lab(16.70, 38.07, -57.20) |
| CIE-LCH | lch(16.70, 68.71, 303.65°) |
| OKLab | oklab(29.83% 0.0004 -0.1656) |
| OKLCH | oklch(29.83% 0.166 270.1) |
| XYZ | xyz(4.3608, 2.2391, 19.9370) |
| Luminance | 0.0224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.50
Royal
#0C1793
ΔE00 3.03
Dark Royal Blue
#02066F
ΔE00 3.76
Navy
#000080
ΔE00 3.83
Darkblue
#00008B
ΔE00 4.00
Deep Blue
#040273
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15167E #7E7D15
analogous
#154B7E #15167E #49157E
triadic
#15167E #7E1516 #167E15
tetradic
#15167E #7E154B #7E7D15 #157E49
square
#15167E #7E154B #7E7D15 #157E49
split-complementary
#15167E #7E4915 #4B7E15
monochromatic
#04051A #0C0D4A #15167E #1E1FB2 #3132DD
Accessibility & contrast
On white
14.50
#15167E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#15167E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15167E
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15167E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15167E | 1.00 | 14.50 | 1.45 | 14.50 |
| #FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #15167e; /* rgb */ color: rgb(21, 22, 126); /* oklch */ color: oklch(29.8% 0.166 270.1);
Tailwind
colors: {
custom: {
50: '#6956a5',
500: '#15167e',
950: '#000000',
},
}SCSS
$custom: #15167e; $custom-light: #6956a5; $custom-dark: #000000;
JSON
{
"hex": "#15167e",
"rgb": {
"r": 21,
"g": 22,
"b": 126
},
"hsl": {
"h": 239.429,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.2983,
"c": 0.16563,
"h": 270.1
},
"luminance": 0.0224
}Semantic roles & 50–950 ramp
primary
#15167E
secondary
#B3B23C
accent
#EC3AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F