#1E2A78#1E2A78
#1E2A78 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.133 H 270.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2A78 |
|---|---|
| RGB | rgb(30, 42, 120) |
| HSL | hsl(232, 60%, 29%) |
| HSV | hsv(232, 75%, 47%) |
| CMYK | cmyk(75%, 65%, 0%, 52.9%) |
| CIE-LAB | lab(21.16, 24.03, -46.00) |
| CIE-LCH | lch(21.16, 51.90, 297.58°) |
| OKLab | oklab(32.98% 0.0011 -0.1329) |
| OKLCH | oklch(32.98% 0.133 270.5) |
| XYZ | xyz(4.7524, 3.2875, 18.1498) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.92
Marine
#042E60
ΔE00 6.55
Royal
#0C1793
ΔE00 7.04
Darkslateblue
#483D8B
ΔE00 7.79
Sapphire (survey)
#2138AB
ΔE00 8.06
Marine Blue
#01386A
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2A78 #786C1E
analogous
#1E5778 #1E2A78 #3F1E78
triadic
#1E2A78 #781E2A #2A781E
tetradic
#1E2A78 #781E57 #786C1E #1E783F
square
#1E2A78 #781E57 #786C1E #1E783F
split-complementary
#1E2A78 #783F1E #57781E
monochromatic
#060918 #121947 #1E2A78 #2A3BA9 #4154CF
Accessibility & contrast
On white
12.67
#1E2A78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1E2A78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2A78
12.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2A78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2A78 | 1.00 | 12.67 | 1.66 | 12.67 |
| #FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1e2a78; /* rgb */ color: rgb(30, 42, 120); /* oklch */ color: oklch(33.0% 0.133 270.5);
Tailwind
colors: {
custom: {
50: '#6863a0',
500: '#1e2a78',
950: '#000000',
},
}SCSS
$custom: #1e2a78; $custom-light: #6863a0; $custom-dark: #000000;
JSON
{
"hex": "#1e2a78",
"rgb": {
"r": 30,
"g": 42,
"b": 120
},
"hsl": {
"h": 232,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.32983,
"c": 0.13286,
"h": 270.5
},
"luminance": 0.03288
}Semantic roles & 50–950 ramp
primary
#1E2A78
secondary
#AC9E46
accent
#CE45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E