#1E3AA7#1E3AA7
#1E3AA7 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.177 H 266.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1E3AA7 |
|---|---|
| RGB | rgb(30, 58, 167) |
| HSL | hsl(228, 70%, 39%) |
| HSV | hsv(228, 82%, 65%) |
| CMYK | cmyk(82%, 65.3%, 0%, 34.5%) |
| CIE-LAB | lab(29.64, 31.35, -61.19) |
| CIE-LCH | lch(29.64, 68.75, 297.12°) |
| OKLab | oklab(40.56% -0.0105 -0.1772) |
| OKLCH | oklch(40.56% 0.177 266.6) |
| XYZ | xyz(9.0211, 6.0911, 37.2520) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.06
Blue Blue
#2242C7
ΔE00 4.81
Cobalt
#0047AB
ΔE00 5.05
Blueberry
#464196
ΔE00 5.79
Ocean Blue
#4F42B5
ΔE00 6.50
Cobalt (survey)
#1E488F
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E3AA7 #A78B1E
analogous
#1E7EA7 #1E3AA7 #461EA7
triadic
#1E3AA7 #A71E3A #3AA71E
tetradic
#1E3AA7 #A71E7E #A78B1E #1EA746
square
#1E3AA7 #A71E7E #A78B1E #1EA746
split-complementary
#1E3AA7 #A7461E #7EA71E
monochromatic
#0B163F #152873 #1E3AA7 #2A4DD9 #5D79E2
Accessibility & contrast
On white
9.47
#1E3AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#1E3AA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E3AA7
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E3AA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E3AA7 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1e3aa7; /* rgb */ color: rgb(30, 58, 167); /* oklch */ color: oklch(40.6% 0.177 266.6);
Tailwind
colors: {
custom: {
50: '#7370c2',
500: '#1e3aa7',
950: '#000000',
},
}SCSS
$custom: #1e3aa7; $custom-light: #7370c2; $custom-dark: #000000;
JSON
{
"hex": "#1e3aa7",
"rgb": {
"r": 30,
"g": 58,
"b": 167
},
"hsl": {
"h": 227.737,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.40562,
"c": 0.17749,
"h": 266.6
},
"luminance": 0.06092
}Semantic roles & 50–950 ramp
primary
#1E3AA7
secondary
#C6B05B
accent
#C83BEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81