#1E2284#1E2284
#1E2284 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.159 H 271.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2284 |
|---|---|
| RGB | rgb(30, 34, 132) |
| HSL | hsl(238, 63%, 32%) |
| HSV | hsv(238, 77%, 52%) |
| CMYK | cmyk(77.3%, 74.2%, 0%, 48.2%) |
| CIE-LAB | lab(20.38, 33.85, -54.88) |
| CIE-LCH | lch(20.38, 64.48, 301.66°) |
| OKLab | oklab(32.78% 0.005 -0.1588) |
| OKLCH | oklch(32.78% 0.159 271.8) |
| XYZ | xyz(5.2709, 3.0855, 22.1431) |
| Luminance | 0.0309 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.55
Midnight Blue
#191970
ΔE00 3.58
Darkblue
#00008B
ΔE00 6.43
Cobalt Blue
#030AA7
ΔE00 6.47
Dark Royal Blue
#02066F
ΔE00 6.63
Navy
#000080
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2284 #84801E
analogous
#1E5584 #1E2284 #4D1E84
triadic
#1E2284 #841E22 #22841E
tetradic
#1E2284 #841E55 #84801E #1E844D
square
#1E2284 #841E55 #84801E #1E844D
split-complementary
#1E2284 #844D1E #55841E
monochromatic
#070820 #131552 #1E2284 #292FB6 #474DD5
Accessibility & contrast
On white
12.99
#1E2284 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1E2284 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2284
12.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2284 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2284 | 1.00 | 12.99 | 1.62 | 12.99 |
| #FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002C82
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1e2284; /* rgb */ color: rgb(30, 34, 132); /* oklch */ color: oklch(32.8% 0.159 271.8);
Tailwind
colors: {
custom: {
50: '#6c5ea9',
500: '#1e2284',
950: '#000000',
},
}SCSS
$custom: #1e2284; $custom-light: #6c5ea9; $custom-dark: #000000;
JSON
{
"hex": "#1e2284",
"rgb": {
"r": 30,
"g": 34,
"b": 132
},
"hsl": {
"h": 237.647,
"s": 62.963,
"l": 31.765
},
"oklch": {
"l": 0.32781,
"c": 0.15893,
"h": 271.8
},
"luminance": 0.03086
}Semantic roles & 50–950 ramp
primary
#1E2284
secondary
#B7B247
accent
#E042E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F