#1E45A1#1E45A1
#1E45A1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.156 H 263.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #1E45A1 |
|---|---|
| RGB | rgb(30, 69, 161) |
| HSL | hsl(222, 69%, 37%) |
| HSV | hsv(222, 81%, 63%) |
| CMYK | cmyk(81.4%, 57.1%, 0%, 36.9%) |
| CIE-LAB | lab(32.04, 21.61, -53.65) |
| CIE-LCH | lch(32.04, 57.84, 291.94°) |
| OKLab | oklab(42.19% -0.0172 -0.1549) |
| OKLCH | oklch(42.19% 0.156 263.7) |
| XYZ | xyz(9.0943, 7.1044, 34.6033) |
| Luminance | 0.0711 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.90
Cobalt (survey)
#1E488F
ΔE00 3.20
Sapphire (survey)
#2138AB
ΔE00 5.00
Sapphire
#0F52BA
ΔE00 5.17
Darkish Blue
#014182
ΔE00 5.38
Blue Blue
#2242C7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E45A1 #A17A1E
analogous
#1E87A1 #1E45A1 #381EA1
triadic
#1E45A1 #A11E45 #45A11E
tetradic
#1E45A1 #A11E87 #A17A1E #1EA138
square
#1E45A1 #A11E87 #A17A1E #1EA138
split-complementary
#1E45A1 #A1381E #87A11E
monochromatic
#0B193A #142F6D #1E45A1 #285BD5 #5981E0
Accessibility & contrast
On white
8.67
#1E45A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#1E45A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E45A1
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E45A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E45A1 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1e45a1; /* rgb */ color: rgb(30, 69, 161); /* oklch */ color: oklch(42.2% 0.156 263.7);
Tailwind
colors: {
custom: {
50: '#7178be',
500: '#1e45a1',
950: '#000000',
},
}SCSS
$custom: #1e45a1; $custom-light: #7178be; $custom-dark: #000000;
JSON
{
"hex": "#1e45a1",
"rgb": {
"r": 30,
"g": 69,
"b": 161
},
"hsl": {
"h": 222.137,
"s": 68.586,
"l": 37.451
},
"oklch": {
"l": 0.42192,
"c": 0.15587,
"h": 263.7
},
"luminance": 0.07105
}Semantic roles & 50–950 ramp
primary
#1E45A1
secondary
#C4A357
accent
#B73CEB
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81