#151778#151778
#151778 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.157 H 270.5°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).
Color values
| HEX | #151778 |
|---|---|
| RGB | rgb(21, 23, 120) |
| HSL | hsl(239, 70%, 28%) |
| HSV | hsv(239, 83%, 47%) |
| CMYK | cmyk(82.5%, 80.8%, 0%, 52.9%) |
| CIE-LAB | lab(16.14, 35.43, -54.27) |
| CIE-LCH | lch(16.14, 64.82, 303.14°) |
| OKLab | oklab(29.23% 0.0013 -0.1572) |
| OKLCH | oklch(29.23% 0.157 270.5) |
| XYZ | xyz(4.0047, 2.1278, 17.9653) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.52
Dark Royal Blue
#02066F
ΔE00 3.62
Royal
#0C1793
ΔE00 3.97
Deep Blue
#040273
ΔE00 4.09
Darkblue (survey)
#030764
ΔE00 4.36
Navy
#000080
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151778 #787615
analogous
#154878 #151778 #451578
triadic
#151778 #781517 #177815
tetradic
#151778 #781548 #787615 #157845
square
#151778 #781548 #787615 #157845
split-complementary
#151778 #784515 #487815
monochromatic
#05051A #0C0D44 #151778 #1E21AC #2D31DA
Accessibility & contrast
On white
14.73
#151778 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#151778 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151778
14.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151778 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151778 | 1.00 | 14.73 | 1.43 | 14.73 |
| #FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002376
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #151778; /* rgb */ color: rgb(21, 23, 120); /* oklch */ color: oklch(29.2% 0.157 270.5);
Tailwind
colors: {
custom: {
50: '#6756a0',
500: '#151778',
950: '#000000',
},
}SCSS
$custom: #151778; $custom-light: #6756a0; $custom-dark: #000000;
JSON
{
"hex": "#151778",
"rgb": {
"r": 21,
"g": 23,
"b": 120
},
"hsl": {
"h": 238.788,
"s": 70.213,
"l": 27.647
},
"oklch": {
"l": 0.29228,
"c": 0.15718,
"h": 270.5
},
"luminance": 0.02128
}Semantic roles & 50–950 ramp
primary
#151778
secondary
#AEAB3B
accent
#E93BED
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F