#1E1584#1E1584
#1E1584 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.171 H 273.5°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1584 |
|---|---|
| RGB | rgb(30, 21, 132) |
| HSL | hsl(245, 73%, 30%) |
| HSV | hsv(245, 84%, 52%) |
| CMYK | cmyk(77.3%, 84.1%, 0%, 48.2%) |
| CIE-LAB | lab(17.82, 41.17, -59.13) |
| CIE-LCH | lch(17.82, 72.05, 304.85°) |
| OKLab | oklab(30.98% 0.0104 -0.171) |
| OKLCH | oklch(30.98% 0.171 273.5) |
| XYZ | xyz(4.9671, 2.4778, 22.0418) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.35
Darkblue
#00008B
ΔE00 3.52
Midnight Blue
#191970
ΔE00 3.55
Navy
#000080
ΔE00 3.74
Indigo (survey)
#380282
ΔE00 4.28
Deep Blue
#040273
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1584 #7B8415
analogous
#154384 #1E1584 #561584
triadic
#1E1584 #841E15 #15841E
tetradic
#1E1584 #841543 #7B8415 #158456
square
#1E1584 #841543 #7B8415 #158456
split-complementary
#1E1584 #845615 #438415
monochromatic
#06041A #120D4F #1E1584 #2A1DB9 #4235DF
Accessibility & contrast
On white
14.04
#1E1584 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1E1584 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1584
14.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1584 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1584 | 1.00 | 14.04 | 1.50 | 14.04 |
| #FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003187
Deuteranopia (green-blind)
#002682
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1e1584; /* rgb */ color: rgb(30, 21, 132); /* oklch */ color: oklch(31.0% 0.171 273.5);
Tailwind
colors: {
custom: {
50: '#6d56a9',
500: '#1e1584',
950: '#000000',
},
}SCSS
$custom: #1e1584; $custom-light: #6d56a9; $custom-dark: #000000;
JSON
{
"hex": "#1e1584",
"rgb": {
"r": 30,
"g": 21,
"b": 132
},
"hsl": {
"h": 244.865,
"s": 72.549,
"l": 30
},
"oklch": {
"l": 0.30975,
"c": 0.17135,
"h": 273.5
},
"luminance": 0.02478
}Semantic roles & 50–950 ramp
primary
#1E1584
secondary
#AEB93C
accent
#EF39E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F