#1E2282#1E2282
#1E2282 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.156 H 271.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2282 |
|---|---|
| RGB | rgb(30, 34, 130) |
| HSL | hsl(238, 63%, 31%) |
| HSV | hsv(238, 77%, 51%) |
| CMYK | cmyk(76.9%, 73.8%, 0%, 49%) |
| CIE-LAB | lab(20.17, 33.12, -53.98) |
| CIE-LCH | lch(20.17, 63.33, 301.54°) |
| OKLab | oklab(32.56% 0.0053 -0.1562) |
| OKLCH | oklch(32.56% 0.156 271.9) |
| XYZ | xyz(5.1354, 3.0312, 21.4292) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.34
Royal
#0C1793
ΔE00 3.79
Darkblue
#00008B
ΔE00 6.55
Dark Royal Blue
#02066F
ΔE00 6.55
Navy
#000080
ΔE00 6.71
Cobalt Blue
#030AA7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2282 #827E1E
analogous
#1E5482 #1E2282 #4C1E82
triadic
#1E2282 #821E22 #22821E
tetradic
#1E2282 #821E54 #827E1E #1E824C
square
#1E2282 #821E54 #827E1E #1E824C
split-complementary
#1E2282 #824C1E #54821E
monochromatic
#07081F #131550 #1E2282 #292FB4 #464CD4
Accessibility & contrast
On white
13.07
#1E2282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1E2282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2282
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2282 | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1e2282; /* rgb */ color: rgb(30, 34, 130); /* oklch */ color: oklch(32.6% 0.156 271.9);
Tailwind
colors: {
custom: {
50: '#6b5ea7',
500: '#1e2282',
950: '#000000',
},
}SCSS
$custom: #1e2282; $custom-light: #6b5ea7; $custom-dark: #000000;
JSON
{
"hex": "#1e2282",
"rgb": {
"r": 30,
"g": 34,
"b": 130
},
"hsl": {
"h": 237.6,
"s": 62.5,
"l": 31.373
},
"oklch": {
"l": 0.32564,
"c": 0.1563,
"h": 271.9
},
"luminance": 0.03032
}Semantic roles & 50–950 ramp
primary
#1E2282
secondary
#B5B147
accent
#DF42E6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F