#15166C#15166C
#15166C is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.143 H 271.6°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).
Color values
| HEX | #15166C |
|---|---|
| RGB | rgb(21, 22, 108) |
| HSL | hsl(239, 67%, 25%) |
| HSV | hsv(239, 81%, 42%) |
| CMYK | cmyk(80.6%, 79.6%, 0%, 57.6%) |
| CIE-LAB | lab(14.49, 31.73, -49.24) |
| CIE-LCH | lch(14.49, 58.58, 302.80°) |
| OKLab | oklab(27.64% 0.0041 -0.1425) |
| OKLCH | oklch(27.64% 0.143 271.6) |
| XYZ | xyz(3.3020, 1.8156, 14.3609) |
| Luminance | 0.0182 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.92
Darkblue (survey)
#030764
ΔE00 3.44
Dark Royal Blue
#02066F
ΔE00 3.56
Deep Blue
#040273
ΔE00 4.36
Dark Blue
#00035B
ΔE00 4.80
Dark Indigo
#1F0954
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#15166C #6C6B15
analogous
#15426C #15166C #3F156C
triadic
#15166C #6C1516 #166C15
tetradic
#15166C #6C1542 #6C6B15 #156C3F
square
#15166C #6C1542 #6C6B15 #156C3F
split-complementary
#15166C #6C3F15 #426C15
monochromatic
#05051A #0B0C39 #15166C #1F209F #292BD2
Accessibility & contrast
On white
15.40
#15166C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#15166C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #15166C
15.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##15166C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##15166C | 1.00 | 15.40 | 1.36 | 15.40 |
| #FFFFFF | 15.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00206A
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #15166c; /* rgb */ color: rgb(21, 22, 108); /* oklch */ color: oklch(27.6% 0.143 271.6);
Tailwind
colors: {
custom: {
50: '#645497',
500: '#15166c',
950: '#000000',
},
}SCSS
$custom: #15166c; $custom-light: #645497; $custom-dark: #000000;
JSON
{
"hex": "#15166c",
"rgb": {
"r": 21,
"g": 22,
"b": 108
},
"hsl": {
"h": 239.31,
"s": 67.442,
"l": 25.294
},
"oklch": {
"l": 0.27636,
"c": 0.14261,
"h": 271.6
},
"luminance": 0.01816
}Semantic roles & 50–950 ramp
primary
#15166C
secondary
#A3A13A
accent
#E83DEA
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030E
muted
#7A787E