#2E45AD#2E45AD
#2E45AD is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.168 H 268.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2E45AD |
|---|---|
| RGB | rgb(46, 69, 173) |
| HSL | hsl(229, 58%, 43%) |
| HSV | hsv(229, 73%, 68%) |
| CMYK | cmyk(73.4%, 60.1%, 0%, 32.2%) |
| CIE-LAB | lab(33.68, 28.02, -58.16) |
| CIE-LCH | lch(33.68, 64.56, 295.73°) |
| OKLab | oklab(43.9% -0.0035 -0.1679) |
| OKLCH | oklch(43.9% 0.168 268.8) |
| XYZ | xyz(10.7951, 7.8531, 40.4739) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.60
Cobalt
#0047AB
ΔE00 3.62
Sapphire (survey)
#2138AB
ΔE00 3.86
Blueberry
#464196
ΔE00 5.35
Ocean Blue
#4F42B5
ΔE00 5.36
Sapphire
#0F52BA
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E45AD #AD962E
analogous
#2E84AD #2E45AD #562EAD
triadic
#2E45AD #AD2E45 #45AD2E
tetradic
#2E45AD #AD2E84 #AD962E #2EAD56
square
#2E45AD #AD2E84 #AD962E #2EAD56
split-complementary
#2E45AD #AD562E #84AD2E
monochromatic
#141E4C #21327D #2E45AD #4962CF #7A8CDC
Accessibility & contrast
On white
8.17
#2E45AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2E45AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E45AD
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E45AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E45AD | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e45ad; /* rgb */ color: rgb(46, 69, 173); /* oklch */ color: oklch(43.9% 0.168 268.8);
Tailwind
colors: {
custom: {
50: '#7978c6',
500: '#2e45ad',
950: '#000000',
},
}SCSS
$custom: #2e45ad; $custom-light: #7978c6; $custom-dark: #000000;
JSON
{
"hex": "#2e45ad",
"rgb": {
"r": 46,
"g": 69,
"b": 173
},
"hsl": {
"h": 229.134,
"s": 57.991,
"l": 42.941
},
"oklch": {
"l": 0.439,
"c": 0.1679,
"h": 268.8
},
"luminance": 0.07854
}Semantic roles & 50–950 ramp
primary
#2E45AD
secondary
#C4B573
accent
#C547E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82