#1E2A82#1E2A82
#1E2A82 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.147 H 270.2°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2A82 |
|---|---|
| RGB | rgb(30, 42, 130) |
| HSL | hsl(233, 63%, 31%) |
| HSV | hsv(233, 77%, 51%) |
| CMYK | cmyk(76.9%, 67.7%, 0%, 49%) |
| CIE-LAB | lab(22.10, 27.89, -50.80) |
| CIE-LCH | lch(22.10, 57.95, 298.77°) |
| OKLab | oklab(33.96% 0.0006 -0.1469) |
| OKLCH | oklch(33.96% 0.147 270.2) |
| XYZ | xyz(5.3913, 3.5431, 21.5145) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.06
Royal
#0C1793
ΔE00 5.77
Sapphire (survey)
#2138AB
ΔE00 6.72
Darkslateblue
#483D8B
ΔE00 7.48
Marine
#042E60
ΔE00 7.76
Blueberry
#464196
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2A82 #82761E
analogous
#1E5C82 #1E2A82 #441E82
triadic
#1E2A82 #821E2A #2A821E
tetradic
#1E2A82 #821E5C #82761E #1E8244
square
#1E2A82 #821E5C #82761E #1E8244
split-complementary
#1E2A82 #82441E #5C821E
monochromatic
#070A1F #131A50 #1E2A82 #293AB4 #4657D4
Accessibility & contrast
On white
12.29
#1E2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1E2A82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2A82
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2A82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2A82 | 1.00 | 12.29 | 1.71 | 12.29 |
| #FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1e2a82; /* rgb */ color: rgb(30, 42, 130); /* oklch */ color: oklch(34.0% 0.147 270.2);
Tailwind
colors: {
custom: {
50: '#6b63a7',
500: '#1e2a82',
950: '#000000',
},
}SCSS
$custom: #1e2a82; $custom-light: #6b63a7; $custom-dark: #000000;
JSON
{
"hex": "#1e2a82",
"rgb": {
"r": 30,
"g": 42,
"b": 130
},
"hsl": {
"h": 232.8,
"s": 62.5,
"l": 31.373
},
"oklch": {
"l": 0.33961,
"c": 0.14692,
"h": 270.2
},
"luminance": 0.03544
}Semantic roles & 50–950 ramp
primary
#1E2A82
secondary
#B5A847
accent
#D242E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F