#151280#151280
#151280 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.171 H 270.3°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).
Color values
| HEX | #151280 |
|---|---|
| RGB | rgb(21, 18, 128) |
| HSL | hsl(242, 75%, 29%) |
| HSV | hsv(242, 86%, 50%) |
| CMYK | cmyk(83.6%, 85.9%, 0%, 49.8%) |
| CIE-LAB | lab(16.26, 40.78, -59.20) |
| CIE-LCH | lch(16.26, 71.89, 304.56°) |
| OKLab | oklab(29.6% 0.0008 -0.1713) |
| OKLCH | oklch(29.6% 0.171 270.3) |
| XYZ | xyz(4.4205, 2.1500, 20.5999) |
| Luminance | 0.0215 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.86
Navy
#000080
ΔE00 2.98
Darkblue
#00008B
ΔE00 3.11
Midnight Blue
#191970
ΔE00 3.23
Dark Royal Blue
#02066F
ΔE00 3.39
Deep Blue
#040273
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151280 #7D8012
analogous
#124680 #151280 #4C1280
triadic
#151280 #801512 #128015
tetradic
#151280 #801246 #7D8012 #12804C
square
#151280 #801246 #7D8012 #12804C
split-complementary
#151280 #804C12 #468012
monochromatic
#04041B #0C0A4A #151280 #1E1AB6 #302BE1
Accessibility & contrast
On white
14.68
#151280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#151280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151280
14.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151280 | 1.00 | 14.68 | 1.43 | 14.68 |
| #FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #151280; /* rgb */ color: rgb(21, 18, 128); /* oklch */ color: oklch(29.6% 0.171 270.3);
Tailwind
colors: {
custom: {
50: '#6a54a6',
500: '#151280',
950: '#000000',
},
}SCSS
$custom: #151280; $custom-light: #6a54a6; $custom-dark: #000000;
JSON
{
"hex": "#151280",
"rgb": {
"r": 21,
"g": 18,
"b": 128
},
"hsl": {
"h": 241.636,
"s": 75.342,
"l": 28.627
},
"oklch": {
"l": 0.29598,
"c": 0.17135,
"h": 270.3
},
"luminance": 0.02151
}Semantic roles & 50–950 ramp
primary
#151280
secondary
#B2B638
accent
#F236ED
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F