#1E2A79#1E2A79
#1E2A79 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.134 H 270.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2A79 |
|---|---|
| RGB | rgb(30, 42, 121) |
| HSL | hsl(232, 60%, 30%) |
| HSV | hsv(232, 75%, 47%) |
| CMYK | cmyk(75.2%, 65.3%, 0%, 52.5%) |
| CIE-LAB | lab(21.25, 24.42, -46.49) |
| CIE-LCH | lch(21.25, 52.51, 297.71°) |
| OKLab | oklab(33.08% 0.0011 -0.1343) |
| OKLCH | oklch(33.08% 0.134 270.4) |
| XYZ | xyz(4.8134, 3.3119, 18.4710) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.90
Marine
#042E60
ΔE00 6.67
Royal
#0C1793
ΔE00 6.90
Darkslateblue
#483D8B
ΔE00 7.74
Sapphire (survey)
#2138AB
ΔE00 7.92
Marine Blue
#01386A
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2A79 #796D1E
analogous
#1E5879 #1E2A79 #401E79
triadic
#1E2A79 #791E2A #2A791E
tetradic
#1E2A79 #791E58 #796D1E #1E7940
square
#1E2A79 #791E58 #796D1E #1E7940
split-complementary
#1E2A79 #79401E #58791E
monochromatic
#060919 #121948 #1E2A79 #2A3BAA #4154D0
Accessibility & contrast
On white
12.63
#1E2A79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1E2A79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2A79
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2A79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2A79 | 1.00 | 12.63 | 1.66 | 12.63 |
| #FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1e2a79; /* rgb */ color: rgb(30, 42, 121); /* oklch */ color: oklch(33.1% 0.134 270.4);
Tailwind
colors: {
custom: {
50: '#6863a0',
500: '#1e2a79',
950: '#000000',
},
}SCSS
$custom: #1e2a79; $custom-light: #6863a0; $custom-dark: #000000;
JSON
{
"hex": "#1e2a79",
"rgb": {
"r": 30,
"g": 42,
"b": 121
},
"hsl": {
"h": 232.088,
"s": 60.265,
"l": 29.608
},
"oklch": {
"l": 0.33079,
"c": 0.13429,
"h": 270.4
},
"luminance": 0.03312
}Semantic roles & 50–950 ramp
primary
#1E2A79
secondary
#AD9F46
accent
#CE44E3
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F