#1E2982#1E2982
#1E2982 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.148 H 270.5°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2982 |
|---|---|
| RGB | rgb(30, 41, 130) |
| HSL | hsl(233, 63%, 31%) |
| HSV | hsv(233, 77%, 51%) |
| CMYK | cmyk(76.9%, 68.5%, 0%, 49%) |
| CIE-LAB | lab(21.85, 28.56, -51.22) |
| CIE-LCH | lch(21.85, 58.64, 299.15°) |
| OKLab | oklab(33.78% 0.0012 -0.1481) |
| OKLCH | oklch(33.78% 0.148 270.5) |
| XYZ | xyz(5.3562, 3.4730, 21.5028) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.79
Royal
#0C1793
ΔE00 5.49
Sapphire (survey)
#2138AB
ΔE00 6.85
Darkslateblue
#483D8B
ΔE00 7.62
Marine
#042E60
ΔE00 7.97
Blueberry
#464196
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2982 #82771E
analogous
#1E5B82 #1E2982 #451E82
triadic
#1E2982 #821E29 #29821E
tetradic
#1E2982 #821E5B #82771E #1E8245
square
#1E2982 #821E5B #82771E #1E8245
split-complementary
#1E2982 #82451E #5B821E
monochromatic
#070A1F #131950 #1E2982 #2939B4 #4656D4
Accessibility & contrast
On white
12.39
#1E2982 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1E2982 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2982
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2982 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2982 | 1.00 | 12.39 | 1.69 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1e2982; /* rgb */ color: rgb(30, 41, 130); /* oklch */ color: oklch(33.8% 0.148 270.5);
Tailwind
colors: {
custom: {
50: '#6b63a7',
500: '#1e2982',
950: '#000000',
},
}SCSS
$custom: #1e2982; $custom-light: #6b63a7; $custom-dark: #000000;
JSON
{
"hex": "#1e2982",
"rgb": {
"r": 30,
"g": 41,
"b": 130
},
"hsl": {
"h": 233.4,
"s": 62.5,
"l": 31.373
},
"oklch": {
"l": 0.33777,
"c": 0.14814,
"h": 270.5
},
"luminance": 0.03474
}Semantic roles & 50–950 ramp
primary
#1E2982
secondary
#B5A947
accent
#D442E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F