#151176#151176
#151176 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.2% C 0.160 H 271.2°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).
Color values
| HEX | #151176 |
|---|---|
| RGB | rgb(21, 17, 118) |
| HSL | hsl(242, 75%, 26%) |
| HSV | hsv(242, 86%, 46%) |
| CMYK | cmyk(82.2%, 85.6%, 0%, 53.7%) |
| CIE-LAB | lab(14.78, 37.98, -55.25) |
| CIE-LCH | lch(14.78, 67.05, 304.51°) |
| OKLab | oklab(28.2% 0.0035 -0.1599) |
| OKLCH | oklch(28.2% 0.16 271.2) |
| XYZ | xyz(3.7786, 1.8679, 17.2974) |
| Luminance | 0.0187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.31
Dark Royal Blue
#02066F
ΔE00 2.40
Deep Blue
#040273
ΔE00 2.79
Navy
#000080
ΔE00 3.27
Darkblue (survey)
#030764
ΔE00 3.40
Darkblue
#00008B
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151176 #727611
analogous
#114076 #151176 #481176
triadic
#151176 #761511 #117615
tetradic
#151176 #761140 #727611 #117648
square
#151176 #761140 #727611 #117648
split-complementary
#151176 #764811 #407611
monochromatic
#05041B #0B0941 #151176 #1F19AB #2A22DF
Accessibility & contrast
On white
15.29
#151176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#151176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151176
15.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151176 | 1.00 | 15.29 | 1.37 | 15.29 |
| #FFFFFF | 15.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A79
Deuteranopia (green-blind)
#002074
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #151176; /* rgb */ color: rgb(21, 17, 118); /* oklch */ color: oklch(28.2% 0.160 271.2);
Tailwind
colors: {
custom: {
50: '#67529f',
500: '#151176',
950: '#000000',
},
}SCSS
$custom: #151176; $custom-light: #67529f; $custom-dark: #000000;
JSON
{
"hex": "#151176",
"rgb": {
"r": 21,
"g": 17,
"b": 118
},
"hsl": {
"h": 242.376,
"s": 74.815,
"l": 26.471
},
"oklch": {
"l": 0.28202,
"c": 0.15994,
"h": 271.2
},
"luminance": 0.01868
}Semantic roles & 50–950 ramp
primary
#151176
secondary
#A8AD36
accent
#F136EA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020F
muted
#7A787E