#150780#150780
#150780 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.6% C 0.178 H 270.8°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).
Color values
| HEX | #150780 |
|---|---|
| RGB | rgb(21, 7, 128) |
| HSL | hsl(247, 90%, 26%) |
| HSV | hsv(247, 95%, 50%) |
| CMYK | cmyk(83.6%, 94.5%, 0%, 49.8%) |
| CIE-LAB | lab(14.79, 45.19, -61.65) |
| CIE-LCH | lch(14.79, 76.44, 306.24°) |
| OKLab | oklab(28.6% 0.0024 -0.1782) |
| OKLCH | oklch(28.6% 0.178 270.8) |
| XYZ | xyz(4.2802, 1.8694, 20.5531) |
| Luminance | 0.0187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 1.45
Darkblue
#00008B
ΔE00 1.88
Deep Blue
#040273
ΔE00 2.35
Dark Royal Blue
#02066F
ΔE00 2.84
Royal
#0C1793
ΔE00 3.79
Indigo (survey)
#380282
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#150780 #728007
analogous
#073680 #150780 #520780
triadic
#150780 #801507 #078015
tetradic
#150780 #800736 #728007 #078052
square
#150780 #800736 #728007 #078052
split-complementary
#150780 #805207 #368007
monochromatic
#05021D #0B0446 #150780 #1F0ABA #2A0FF2
Accessibility & contrast
On white
15.28
#150780 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#150780 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #150780
15.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##150780 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##150780 | 1.00 | 15.28 | 1.37 | 15.28 |
| #FFFFFF | 15.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B83
Deuteranopia (green-blind)
#001F7E
Tritanopia (blue-blind)
#003349
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #150780; /* rgb */ color: rgb(21, 7, 128); /* oklch */ color: oklch(28.6% 0.178 270.8);
Tailwind
colors: {
custom: {
50: '#6b4fa6',
500: '#150780',
950: '#000000',
},
}SCSS
$custom: #150780; $custom-light: #6b4fa6; $custom-dark: #000000;
JSON
{
"hex": "#150780",
"rgb": {
"r": 21,
"g": 7,
"b": 128
},
"hsl": {
"h": 246.942,
"s": 89.63,
"l": 26.471
},
"oklch": {
"l": 0.28595,
"c": 0.17818,
"h": 270.8
},
"luminance": 0.0187
}Semantic roles & 50–950 ramp
primary
#150780
secondary
#A8B92A
accent
#FF29E6
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#080210
muted
#7B787F