#1E2180#1E2180
#1E2180 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.155 H 272.3°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2180 |
|---|---|
| RGB | rgb(30, 33, 128) |
| HSL | hsl(238, 62%, 31%) |
| HSV | hsv(238, 77%, 50%) |
| CMYK | cmyk(76.6%, 74.2%, 0%, 49.8%) |
| CIE-LAB | lab(19.73, 33.03, -53.44) |
| CIE-LCH | lch(19.73, 62.82, 301.72°) |
| OKLab | oklab(32.18% 0.0061 -0.1546) |
| OKLCH | oklch(32.18% 0.155 272.3) |
| XYZ | xyz(4.9742, 2.9217, 20.7197) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.97
Royal
#0C1793
ΔE00 3.85
Dark Royal Blue
#02066F
ΔE00 6.24
Darkblue
#00008B
ΔE00 6.41
Navy
#000080
ΔE00 6.50
Deep Blue
#040273
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2180 #807D1E
analogous
#1E5280 #1E2180 #4C1E80
triadic
#1E2180 #801E21 #21801E
tetradic
#1E2180 #801E52 #807D1E #1E804C
square
#1E2180 #801E52 #807D1E #1E804C
split-complementary
#1E2180 #804C1E #52801E
monochromatic
#07071D #12144E #1E2180 #2A2EB2 #4549D3
Accessibility & contrast
On white
13.25
#1E2180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1E2180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2180
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2180 | 1.00 | 13.25 | 1.58 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1e2180; /* rgb */ color: rgb(30, 33, 128); /* oklch */ color: oklch(32.2% 0.155 272.3);
Tailwind
colors: {
custom: {
50: '#6b5da6',
500: '#1e2180',
950: '#000000',
},
}SCSS
$custom: #1e2180; $custom-light: #6b5da6; $custom-dark: #000000;
JSON
{
"hex": "#1e2180",
"rgb": {
"r": 30,
"g": 33,
"b": 128
},
"hsl": {
"h": 238.163,
"s": 62.025,
"l": 30.98
},
"oklch": {
"l": 0.32184,
"c": 0.15475,
"h": 272.3
},
"luminance": 0.02922
}Semantic roles & 50–950 ramp
primary
#1E2180
secondary
#B3B047
accent
#E043E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F