#1E3AA8#1E3AA8
#1E3AA8 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.179 H 266.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1E3AA8 |
|---|---|
| RGB | rgb(30, 58, 168) |
| HSL | hsl(228, 70%, 39%) |
| HSV | hsv(228, 82%, 66%) |
| CMYK | cmyk(82.1%, 65.5%, 0%, 34.1%) |
| CIE-LAB | lab(29.73, 31.73, -61.64) |
| CIE-LCH | lch(29.73, 69.33, 297.24°) |
| OKLab | oklab(40.66% -0.0105 -0.1785) |
| OKLCH | oklch(40.66% 0.179 266.6) |
| XYZ | xyz(9.1139, 6.1282, 37.7407) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.95
Blue Blue
#2242C7
ΔE00 4.69
Cobalt
#0047AB
ΔE00 5.07
Blueberry
#464196
ΔE00 5.83
Ocean Blue
#4F42B5
ΔE00 6.42
Cobalt (survey)
#1E488F
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E3AA8 #A88C1E
analogous
#1E7FA8 #1E3AA8 #471EA8
triadic
#1E3AA8 #A81E3A #3AA81E
tetradic
#1E3AA8 #A81E7F #A88C1E #1EA847
square
#1E3AA8 #A81E7F #A88C1E #1EA847
split-complementary
#1E3AA8 #A8471E #7FA81E
monochromatic
#0B1640 #152874 #1E3AA8 #2A4ED9 #5E79E2
Accessibility & contrast
On white
9.43
#1E3AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#1E3AA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E3AA8
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E3AA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E3AA8 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1e3aa8; /* rgb */ color: rgb(30, 58, 168); /* oklch */ color: oklch(40.7% 0.179 266.6);
Tailwind
colors: {
custom: {
50: '#7370c3',
500: '#1e3aa8',
950: '#000000',
},
}SCSS
$custom: #1e3aa8; $custom-light: #7370c3; $custom-dark: #000000;
JSON
{
"hex": "#1e3aa8",
"rgb": {
"r": 30,
"g": 58,
"b": 168
},
"hsl": {
"h": 227.826,
"s": 69.697,
"l": 38.824
},
"oklch": {
"l": 0.40658,
"c": 0.1788,
"h": 266.6
},
"luminance": 0.06129
}Semantic roles & 50–950 ramp
primary
#1E3AA8
secondary
#C7B15B
accent
#C93BED
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82