#2E45AB#2E45AB
#2E45AB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.165 H 268.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2E45AB |
|---|---|
| RGB | rgb(46, 69, 171) |
| HSL | hsl(229, 58%, 43%) |
| HSV | hsv(229, 73%, 67%) |
| CMYK | cmyk(73.1%, 59.6%, 0%, 32.9%) |
| CIE-LAB | lab(33.51, 27.28, -57.23) |
| CIE-LCH | lch(33.51, 63.40, 295.49°) |
| OKLab | oklab(43.73% -0.0035 -0.1651) |
| OKLCH | oklch(43.73% 0.165 268.8) |
| XYZ | xyz(10.6030, 7.7763, 39.4624) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.53
Blue Blue
#2242C7
ΔE00 3.88
Sapphire (survey)
#2138AB
ΔE00 3.89
Blueberry
#464196
ΔE00 5.23
Ocean Blue
#4F42B5
ΔE00 5.51
Cobalt (survey)
#1E488F
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E45AB #AB942E
analogous
#2E84AB #2E45AB #552EAB
triadic
#2E45AB #AB2E45 #45AB2E
tetradic
#2E45AB #AB2E84 #AB942E #2EAB55
square
#2E45AB #AB2E84 #AB942E #2EAB55
split-complementary
#2E45AB #AB552E #84AB2E
monochromatic
#141E4B #21327B #2E45AB #4861CE #798BDB
Accessibility & contrast
On white
8.22
#2E45AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2E45AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E45AB
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E45AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E45AB | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#0049A9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e45ab; /* rgb */ color: rgb(46, 69, 171); /* oklch */ color: oklch(43.7% 0.165 268.8);
Tailwind
colors: {
custom: {
50: '#7878c5',
500: '#2e45ab',
950: '#000000',
},
}SCSS
$custom: #2e45ab; $custom-light: #7878c5; $custom-dark: #000000;
JSON
{
"hex": "#2e45ab",
"rgb": {
"r": 46,
"g": 69,
"b": 171
},
"hsl": {
"h": 228.96,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.43729,
"c": 0.16518,
"h": 268.8
},
"luminance": 0.07777
}Semantic roles & 50–950 ramp
primary
#2E45AB
secondary
#C3B472
accent
#C547E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82