#1E2B78#1E2B78
#1E2B78 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.132 H 270.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2B78 |
|---|---|
| RGB | rgb(30, 43, 120) |
| HSL | hsl(231, 60%, 29%) |
| HSV | hsv(231, 75%, 47%) |
| CMYK | cmyk(75%, 64.2%, 0%, 52.9%) |
| CIE-LAB | lab(21.43, 23.33, -45.56) |
| CIE-LCH | lch(21.43, 51.19, 297.12°) |
| OKLab | oklab(33.18% 0.0003 -0.1316) |
| OKLCH | oklch(33.18% 0.132 270.1) |
| XYZ | xyz(4.7883, 3.3593, 18.1617) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.25
Marine
#042E60
ΔE00 6.31
Royal
#0C1793
ΔE00 7.31
Darkslateblue
#483D8B
ΔE00 7.69
Sapphire (survey)
#2138AB
ΔE00 7.98
Marine Blue
#01386A
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2B78 #786B1E
analogous
#1E5878 #1E2B78 #3E1E78
triadic
#1E2B78 #781E2B #2B781E
tetradic
#1E2B78 #781E58 #786B1E #1E783E
square
#1E2B78 #781E58 #786B1E #1E783E
split-complementary
#1E2B78 #783E1E #58781E
monochromatic
#060918 #121947 #1E2B78 #2A3DA9 #4156CF
Accessibility & contrast
On white
12.56
#1E2B78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1E2B78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2B78
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2B78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2B78 | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1e2b78; /* rgb */ color: rgb(30, 43, 120); /* oklch */ color: oklch(33.2% 0.132 270.1);
Tailwind
colors: {
custom: {
50: '#6864a0',
500: '#1e2b78',
950: '#000000',
},
}SCSS
$custom: #1e2b78; $custom-light: #6864a0; $custom-dark: #000000;
JSON
{
"hex": "#1e2b78",
"rgb": {
"r": 30,
"g": 43,
"b": 120
},
"hsl": {
"h": 231.333,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.33181,
"c": 0.13156,
"h": 270.1
},
"luminance": 0.0336
}Semantic roles & 50–950 ramp
primary
#1E2B78
secondary
#AC9D46
accent
#CC45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E