#1E2A70#1E2A70
#1E2A70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.121 H 270.6°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2A70 |
|---|---|
| RGB | rgb(30, 42, 112) |
| HSL | hsl(231, 58%, 28%) |
| HSV | hsv(231, 73%, 44%) |
| CMYK | cmyk(73.2%, 62.5%, 0%, 56.1%) |
| CIE-LAB | lab(20.45, 20.89, -42.04) |
| CIE-LCH | lch(20.45, 46.94, 296.42°) |
| OKLab | oklab(32.23% 0.0013 -0.1212) |
| OKLCH | oklch(32.23% 0.121 270.6) |
| XYZ | xyz(4.2870, 3.1014, 15.6988) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.32
Marine
#042E60
ΔE00 5.66
Navy Blue
#1B2A4A
ΔE00 7.77
Marine Blue
#01386A
ΔE00 7.88
Royal
#0C1793
ΔE00 8.24
Darkslateblue
#483D8B
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2A70 #70641E
analogous
#1E5370 #1E2A70 #3B1E70
triadic
#1E2A70 #701E2A #2A701E
tetradic
#1E2A70 #701E53 #70641E #1E703B
square
#1E2A70 #701E53 #70641E #1E703B
split-complementary
#1E2A70 #703B1E #53701E
monochromatic
#060918 #111840 #1E2A70 #2B3CA0 #3D52CB
Accessibility & contrast
On white
12.96
#1E2A70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#1E2A70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2A70
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2A70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2A70 | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1e2a70; /* rgb */ color: rgb(30, 42, 112); /* oklch */ color: oklch(32.2% 0.121 270.6);
Tailwind
colors: {
custom: {
50: '#66639a',
500: '#1e2a70',
950: '#000000',
},
}SCSS
$custom: #1e2a70; $custom-light: #66639a; $custom-dark: #000000;
JSON
{
"hex": "#1e2a70",
"rgb": {
"r": 30,
"g": 42,
"b": 112
},
"hsl": {
"h": 231.22,
"s": 57.746,
"l": 27.843
},
"oklch": {
"l": 0.32232,
"c": 0.12124,
"h": 270.6
},
"luminance": 0.03102
}Semantic roles & 50–950 ramp
primary
#1E2A70
secondary
#A49646
accent
#CA47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E