#1E2183#1E2183
#1E2183 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.159 H 272.0°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2183 |
|---|---|
| RGB | rgb(30, 33, 131) |
| HSL | hsl(238, 63%, 32%) |
| HSV | hsv(238, 77%, 51%) |
| CMYK | cmyk(77.1%, 74.8%, 0%, 48.6%) |
| CIE-LAB | lab(20.05, 34.11, -54.80) |
| CIE-LCH | lch(20.05, 64.55, 301.90°) |
| OKLab | oklab(32.51% 0.0056 -0.1586) |
| OKLCH | oklch(32.51% 0.159 272) |
| XYZ | xyz(5.1746, 3.0019, 21.7750) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.33
Royal
#0C1793
ΔE00 3.46
Darkblue
#00008B
ΔE00 6.22
Dark Royal Blue
#02066F
ΔE00 6.36
Cobalt Blue
#030AA7
ΔE00 6.42
Navy
#000080
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2183 #83801E
analogous
#1E5483 #1E2183 #4E1E83
triadic
#1E2183 #831E21 #21831E
tetradic
#1E2183 #831E54 #83801E #1E834E
square
#1E2183 #831E54 #83801E #1E834E
split-complementary
#1E2183 #834E1E #54831E
monochromatic
#07081F #131451 #1E2183 #292EB5 #474BD5
Accessibility & contrast
On white
13.12
#1E2183 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#1E2183 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2183
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2183 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2183 | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002B81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1e2183; /* rgb */ color: rgb(30, 33, 131); /* oklch */ color: oklch(32.5% 0.159 272.0);
Tailwind
colors: {
custom: {
50: '#6c5da8',
500: '#1e2183',
950: '#000000',
},
}SCSS
$custom: #1e2183; $custom-light: #6c5da8; $custom-dark: #000000;
JSON
{
"hex": "#1e2183",
"rgb": {
"r": 30,
"g": 33,
"b": 131
},
"hsl": {
"h": 238.218,
"s": 62.733,
"l": 31.569
},
"oklch": {
"l": 0.32512,
"c": 0.1587,
"h": 272
},
"luminance": 0.03002
}Semantic roles & 50–950 ramp
primary
#1E2183
secondary
#B6B347
accent
#E142E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F