#1E45A6#1E45A6
#1E45A6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.163 H 264.0°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1E45A6 |
|---|---|
| RGB | rgb(30, 69, 166) |
| HSL | hsl(223, 69%, 38%) |
| HSV | hsv(223, 82%, 65%) |
| CMYK | cmyk(81.9%, 58.4%, 0%, 34.9%) |
| CIE-LAB | lab(32.45, 23.58, -56.00) |
| CIE-LCH | lch(32.45, 60.77, 292.83°) |
| OKLab | oklab(42.62% -0.0169 -0.1618) |
| OKLCH | oklch(42.62% 0.163 264) |
| XYZ | xyz(9.5440, 7.2843, 36.9720) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.79
Cobalt (survey)
#1E488F
ΔE00 3.89
Sapphire (survey)
#2138AB
ΔE00 4.60
Sapphire
#0F52BA
ΔE00 4.93
Blue Blue
#2242C7
ΔE00 5.07
Darkish Blue
#014182
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E45A6 #A67F1E
analogous
#1E89A6 #1E45A6 #3B1EA6
triadic
#1E45A6 #A61E45 #45A61E
tetradic
#1E45A6 #A61E89 #A67F1E #1EA63B
square
#1E45A6 #A61E89 #A67F1E #1EA63B
split-complementary
#1E45A6 #A63B1E #89A61E
monochromatic
#0B1A3E #152F72 #1E45A6 #295BD8 #5D83E2
Accessibility & contrast
On white
8.55
#1E45A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#1E45A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E45A6
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E45A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E45A6 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1e45a6; /* rgb */ color: rgb(30, 69, 166); /* oklch */ color: oklch(42.6% 0.163 264.0);
Tailwind
colors: {
custom: {
50: '#7278c1',
500: '#1e45a6',
950: '#000000',
},
}SCSS
$custom: #1e45a6; $custom-light: #7278c1; $custom-dark: #000000;
JSON
{
"hex": "#1e45a6",
"rgb": {
"r": 30,
"g": 69,
"b": 166
},
"hsl": {
"h": 222.794,
"s": 69.388,
"l": 38.431
},
"oklch": {
"l": 0.42621,
"c": 0.16271,
"h": 264
},
"luminance": 0.07285
}Semantic roles & 50–950 ramp
primary
#1E45A6
secondary
#C6A75A
accent
#BA3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81