#1E3BA7#1E3BA7
#1E3BA7 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.176 H 266.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1E3BA7 |
|---|---|
| RGB | rgb(30, 59, 167) |
| HSL | hsl(227, 70%, 39%) |
| HSV | hsv(227, 82%, 65%) |
| CMYK | cmyk(82%, 64.7%, 0%, 34.5%) |
| CIE-LAB | lab(29.89, 30.68, -60.77) |
| CIE-LCH | lch(29.89, 68.08, 296.79°) |
| OKLab | oklab(40.75% -0.011 -0.176) |
| OKLCH | oklch(40.75% 0.176 266.4) |
| XYZ | xyz(9.0720, 6.1929, 37.2689) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.32
Blue Blue
#2242C7
ΔE00 4.71
Cobalt
#0047AB
ΔE00 4.74
Blueberry
#464196
ΔE00 5.76
Ocean Blue
#4F42B5
ΔE00 6.51
Cobalt (survey)
#1E488F
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E3BA7 #A78A1E
analogous
#1E7FA7 #1E3BA7 #451EA7
triadic
#1E3BA7 #A71E3B #3BA71E
tetradic
#1E3BA7 #A71E7F #A78A1E #1EA745
square
#1E3BA7 #A71E7F #A78A1E #1EA745
split-complementary
#1E3BA7 #A7451E #7FA71E
monochromatic
#0B163F #152973 #1E3BA7 #2A4FD9 #5D79E2
Accessibility & contrast
On white
9.38
#1E3BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#1E3BA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E3BA7
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E3BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E3BA7 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1e3ba7; /* rgb */ color: rgb(30, 59, 167); /* oklch */ color: oklch(40.7% 0.176 266.4);
Tailwind
colors: {
custom: {
50: '#7370c2',
500: '#1e3ba7',
950: '#000000',
},
}SCSS
$custom: #1e3ba7; $custom-light: #7370c2; $custom-dark: #000000;
JSON
{
"hex": "#1e3ba7",
"rgb": {
"r": 30,
"g": 59,
"b": 167
},
"hsl": {
"h": 227.299,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.40748,
"c": 0.1763,
"h": 266.4
},
"luminance": 0.06194
}Semantic roles & 50–950 ramp
primary
#1E3BA7
secondary
#C6AF5B
accent
#C73BEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81