#1E2185#1E2185
#1E2185 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.161 H 271.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2185 |
|---|---|
| RGB | rgb(30, 33, 133) |
| HSL | hsl(238, 63%, 32%) |
| HSV | hsv(238, 77%, 52%) |
| CMYK | cmyk(77.4%, 75.2%, 0%, 47.8%) |
| CIE-LAB | lab(20.27, 34.83, -55.70) |
| CIE-LCH | lch(20.27, 65.69, 302.02°) |
| OKLab | oklab(32.73% 0.0053 -0.1612) |
| OKLCH | oklch(32.73% 0.161 271.9) |
| XYZ | xyz(5.3115, 3.0566, 22.4958) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.23
Midnight Blue
#191970
ΔE00 3.59
Darkblue
#00008B
ΔE00 6.11
Cobalt Blue
#030AA7
ΔE00 6.15
Navy
#000080
ΔE00 6.39
Dark Royal Blue
#02066F
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2185 #85821E
analogous
#1E5585 #1E2185 #4E1E85
triadic
#1E2185 #851E21 #21851E
tetradic
#1E2185 #851E55 #85821E #1E854E
square
#1E2185 #851E55 #85821E #1E854E
split-complementary
#1E2185 #854E1E #55851E
monochromatic
#070821 #131553 #1E2185 #292DB7 #484CD6
Accessibility & contrast
On white
13.03
#1E2185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1E2185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2185
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2185 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 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: #1e2185; /* rgb */ color: rgb(30, 33, 133); /* oklch */ color: oklch(32.7% 0.161 271.9);
Tailwind
colors: {
custom: {
50: '#6c5daa',
500: '#1e2185',
950: '#000000',
},
}SCSS
$custom: #1e2185; $custom-light: #6c5daa; $custom-dark: #000000;
JSON
{
"hex": "#1e2185",
"rgb": {
"r": 30,
"g": 33,
"b": 133
},
"hsl": {
"h": 238.252,
"s": 63.19,
"l": 31.961
},
"oklch": {
"l": 0.32732,
"c": 0.16132,
"h": 271.9
},
"luminance": 0.03057
}Semantic roles & 50–950 ramp
primary
#1E2185
secondary
#B8B447
accent
#E142E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F