#1E2D82#1E2D82
#1E2D82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.143 H 269.4°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2D82 |
|---|---|
| RGB | rgb(30, 45, 130) |
| HSL | hsl(231, 63%, 31%) |
| HSV | hsv(231, 77%, 51%) |
| CMYK | cmyk(76.9%, 65.4%, 0%, 49%) |
| CIE-LAB | lab(22.88, 25.85, -49.53) |
| CIE-LCH | lch(22.88, 55.87, 297.56°) |
| OKLab | oklab(34.53% -0.0014 -0.1432) |
| OKLCH | oklch(34.53% 0.143 269.4) |
| XYZ | xyz(5.5017, 3.7639, 21.5513) |
| Luminance | 0.0376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.91
Sapphire (survey)
#2138AB
ΔE00 6.40
Royal
#0C1793
ΔE00 6.65
Darkslateblue
#483D8B
ΔE00 7.14
Marine
#042E60
ΔE00 7.17
Blueberry
#464196
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2D82 #82731E
analogous
#1E5F82 #1E2D82 #411E82
triadic
#1E2D82 #821E2D #2D821E
tetradic
#1E2D82 #821E5F #82731E #1E8241
square
#1E2D82 #821E5F #82731E #1E8241
split-complementary
#1E2D82 #82411E #5F821E
monochromatic
#070B1F #131C50 #1E2D82 #293EB4 #465BD4
Accessibility & contrast
On white
11.98
#1E2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1E2D82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2D82
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2D82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2D82 | 1.00 | 11.98 | 1.75 | 11.98 |
| #FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1e2d82; /* rgb */ color: rgb(30, 45, 130); /* oklch */ color: oklch(34.5% 0.143 269.4);
Tailwind
colors: {
custom: {
50: '#6a65a7',
500: '#1e2d82',
950: '#000000',
},
}SCSS
$custom: #1e2d82; $custom-light: #6a65a7; $custom-dark: #000000;
JSON
{
"hex": "#1e2d82",
"rgb": {
"r": 30,
"g": 45,
"b": 130
},
"hsl": {
"h": 231,
"s": 62.5,
"l": 31.373
},
"oklch": {
"l": 0.3453,
"c": 0.14319,
"h": 269.4
},
"luminance": 0.03764
}Semantic roles & 50–950 ramp
primary
#1E2D82
secondary
#B5A447
accent
#CD42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F