#1E1580#1E1580
#1E1580 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.166 H 274.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1580 |
|---|---|
| RGB | rgb(30, 21, 128) |
| HSL | hsl(245, 72%, 29%) |
| HSV | hsv(245, 84%, 50%) |
| CMYK | cmyk(76.6%, 83.6%, 0%, 49.8%) |
| CIE-LAB | lab(17.32, 39.87, -57.41) |
| CIE-LCH | lch(17.32, 69.90, 304.78°) |
| OKLab | oklab(30.49% 0.0115 -0.1661) |
| OKLCH | oklch(30.49% 0.166 274) |
| XYZ | xyz(4.6986, 2.3704, 20.6278) |
| Luminance | 0.0237 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.89
Midnight Blue
#191970
ΔE00 3.01
Navy
#000080
ΔE00 3.73
Darkblue
#00008B
ΔE00 3.75
Dark Royal Blue
#02066F
ΔE00 4.01
Deep Blue
#040273
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1580 #778015
analogous
#154280 #1E1580 #541580
triadic
#1E1580 #801E15 #15801E
tetradic
#1E1580 #801542 #778015 #158054
square
#1E1580 #801542 #778015 #158054
split-complementary
#1E1580 #805415 #428015
monochromatic
#06041A #120C4B #1E1580 #2A1EB5 #4032DD
Accessibility & contrast
On white
14.25
#1E1580 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1E1580 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1580
14.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1580 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1580 | 1.00 | 14.25 | 1.47 | 14.25 |
| #FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00257E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1e1580; /* rgb */ color: rgb(30, 21, 128); /* oklch */ color: oklch(30.5% 0.166 274.0);
Tailwind
colors: {
custom: {
50: '#6c56a6',
500: '#1e1580',
950: '#000000',
},
}SCSS
$custom: #1e1580; $custom-light: #6c56a6; $custom-dark: #000000;
JSON
{
"hex": "#1e1580",
"rgb": {
"r": 30,
"g": 21,
"b": 128
},
"hsl": {
"h": 245.047,
"s": 71.812,
"l": 29.216
},
"oklch": {
"l": 0.30488,
"c": 0.16646,
"h": 274
},
"luminance": 0.02371
}Semantic roles & 50–950 ramp
primary
#1E1580
secondary
#ABB53C
accent
#EF39DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F