#1E2285#1E2285
#1E2285 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.160 H 271.7°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2285 |
|---|---|
| RGB | rgb(30, 34, 133) |
| HSL | hsl(238, 63%, 32%) |
| HSV | hsv(238, 77%, 52%) |
| CMYK | cmyk(77.4%, 74.4%, 0%, 47.8%) |
| CIE-LAB | lab(20.49, 34.21, -55.34) |
| CIE-LCH | lch(20.49, 65.06, 301.72°) |
| OKLab | oklab(32.89% 0.0048 -0.1602) |
| OKLCH | oklch(32.89% 0.16 271.7) |
| XYZ | xyz(5.3397, 3.1130, 22.5052) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.43
Midnight Blue
#191970
ΔE00 3.70
Cobalt Blue
#030AA7
ΔE00 6.34
Darkblue
#00008B
ΔE00 6.38
Navy
#000080
ΔE00 6.65
Dark Royal Blue
#02066F
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2285 #85811E
analogous
#1E5685 #1E2285 #4E1E85
triadic
#1E2285 #851E22 #22851E
tetradic
#1E2285 #851E56 #85811E #1E854E
square
#1E2285 #851E56 #85811E #1E854E
split-complementary
#1E2285 #854E1E #56851E
monochromatic
#070821 #131553 #1E2285 #292FB7 #484DD6
Accessibility & contrast
On white
12.94
#1E2285 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1E2285 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2285
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2285 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2285 | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1e2285; /* rgb */ color: rgb(30, 34, 133); /* oklch */ color: oklch(32.9% 0.160 271.7);
Tailwind
colors: {
custom: {
50: '#6c5eaa',
500: '#1e2285',
950: '#000000',
},
}SCSS
$custom: #1e2285; $custom-light: #6c5eaa; $custom-dark: #000000;
JSON
{
"hex": "#1e2285",
"rgb": {
"r": 30,
"g": 34,
"b": 133
},
"hsl": {
"h": 237.67,
"s": 63.19,
"l": 31.961
},
"oklch": {
"l": 0.32891,
"c": 0.16024,
"h": 271.7
},
"luminance": 0.03114
}Semantic roles & 50–950 ramp
primary
#1E2285
secondary
#B8B347
accent
#E042E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F