#1E3EA7#1E3EA7
#1E3EA7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.173 H 265.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1E3EA7 |
|---|---|
| RGB | rgb(30, 62, 167) |
| HSL | hsl(226, 70%, 39%) |
| HSV | hsv(226, 82%, 65%) |
| CMYK | cmyk(82%, 62.9%, 0%, 34.5%) |
| CIE-LAB | lab(30.66, 28.69, -59.51) |
| CIE-LCH | lch(30.66, 66.06, 295.73°) |
| OKLab | oklab(41.32% -0.0126 -0.1722) |
| OKLCH | oklch(41.32% 0.173 265.8) |
| XYZ | xyz(9.2306, 6.5102, 37.3218) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.22
Cobalt
#0047AB
ΔE00 3.82
Blue Blue
#2242C7
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 5.72
Blueberry
#464196
ΔE00 5.77
Ocean Blue
#4F42B5
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E3EA7 #A7871E
analogous
#1E82A7 #1E3EA7 #421EA7
triadic
#1E3EA7 #A71E3E #3EA71E
tetradic
#1E3EA7 #A71E82 #A7871E #1EA742
square
#1E3EA7 #A71E82 #A7871E #1EA742
split-complementary
#1E3EA7 #A7421E #82A71E
monochromatic
#0B173F #152B73 #1E3EA7 #2A52D9 #5D7CE2
Accessibility & contrast
On white
9.12
#1E3EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1E3EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E3EA7
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E3EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E3EA7 | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1e3ea7; /* rgb */ color: rgb(30, 62, 167); /* oklch */ color: oklch(41.3% 0.173 265.8);
Tailwind
colors: {
custom: {
50: '#7373c2',
500: '#1e3ea7',
950: '#000000',
},
}SCSS
$custom: #1e3ea7; $custom-light: #7373c2; $custom-dark: #000000;
JSON
{
"hex": "#1e3ea7",
"rgb": {
"r": 30,
"g": 62,
"b": 167
},
"hsl": {
"h": 225.985,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.41318,
"c": 0.17269,
"h": 265.8
},
"luminance": 0.06511
}Semantic roles & 50–950 ramp
primary
#1E3EA7
secondary
#C6AD5B
accent
#C33BEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090812
muted
#7B7B81