#1E45A8#1E45A8
#1E45A8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.165 H 264.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1E45A8 |
|---|---|
| RGB | rgb(30, 69, 168) |
| HSL | hsl(223, 70%, 39%) |
| HSV | hsv(223, 82%, 66%) |
| CMYK | cmyk(82.1%, 58.9%, 0%, 34.1%) |
| CIE-LAB | lab(32.61, 24.37, -56.94) |
| CIE-LCH | lch(32.61, 61.93, 293.17°) |
| OKLab | oklab(42.79% -0.0168 -0.1646) |
| OKLCH | oklch(42.79% 0.165 264.2) |
| XYZ | xyz(9.7289, 7.3582, 37.9457) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.83
Cobalt (survey)
#1E488F
ΔE00 4.16
Sapphire (survey)
#2138AB
ΔE00 4.48
Blue Blue
#2242C7
ΔE00 4.78
Sapphire
#0F52BA
ΔE00 4.85
Darkish Blue
#014182
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E45A8 #A8811E
analogous
#1E8AA8 #1E45A8 #3C1EA8
triadic
#1E45A8 #A81E45 #45A81E
tetradic
#1E45A8 #A81E8A #A8811E #1EA83C
square
#1E45A8 #A81E8A #A8811E #1EA83C
split-complementary
#1E45A8 #A83C1E #8AA81E
monochromatic
#0B1A40 #153074 #1E45A8 #2A5CD9 #5E83E2
Accessibility & contrast
On white
8.50
#1E45A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#1E45A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E45A8
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E45A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E45A8 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1e45a8; /* rgb */ color: rgb(30, 69, 168); /* oklch */ color: oklch(42.8% 0.165 264.2);
Tailwind
colors: {
custom: {
50: '#7278c3',
500: '#1e45a8',
950: '#000000',
},
}SCSS
$custom: #1e45a8; $custom-light: #7278c3; $custom-dark: #000000;
JSON
{
"hex": "#1e45a8",
"rgb": {
"r": 30,
"g": 69,
"b": 168
},
"hsl": {
"h": 223.043,
"s": 69.697,
"l": 38.824
},
"oklch": {
"l": 0.42794,
"c": 0.16542,
"h": 264.2
},
"luminance": 0.07359
}Semantic roles & 50–950 ramp
primary
#1E45A8
secondary
#C7A85B
accent
#BA3BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82