#2E45B1#2E45B1
#2E45B1 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.173 H 268.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2E45B1 |
|---|---|
| RGB | rgb(46, 69, 177) |
| HSL | hsl(229, 59%, 44%) |
| HSV | hsv(229, 74%, 69%) |
| CMYK | cmyk(74%, 61%, 0%, 30.6%) |
| CIE-LAB | lab(34.00, 29.51, -60.00) |
| CIE-LCH | lch(34.00, 66.86, 296.19°) |
| OKLab | oklab(44.25% -0.0034 -0.1733) |
| OKLCH | oklch(44.25% 0.173 268.9) |
| XYZ | xyz(11.1879, 8.0102, 42.5429) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.05
Cobalt
#0047AB
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 3.87
Ocean Blue
#4F42B5
ΔE00 5.09
Sapphire
#0F52BA
ΔE00 5.53
Blueberry
#464196
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E45B1 #B19A2E
analogous
#2E86B1 #2E45B1 #582EB1
triadic
#2E45B1 #B12E45 #45B12E
tetradic
#2E45B1 #B12E86 #B19A2E #2EB158
square
#2E45B1 #B12E86 #B19A2E #2EB158
split-complementary
#2E45B1 #B1582E #86B12E
monochromatic
#151F50 #213280 #2E45B1 #4C63D0 #7C8DDD
Accessibility & contrast
On white
8.07
#2E45B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2E45B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E45B1
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E45B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E45B1 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e45b1; /* rgb */ color: rgb(46, 69, 177); /* oklch */ color: oklch(44.2% 0.173 268.9);
Tailwind
colors: {
custom: {
50: '#7a78c9',
500: '#2e45b1',
950: '#000000',
},
}SCSS
$custom: #2e45b1; $custom-light: #7a78c9; $custom-dark: #000000;
JSON
{
"hex": "#2e45b1",
"rgb": {
"r": 46,
"g": 69,
"b": 177
},
"hsl": {
"h": 229.466,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.44247,
"c": 0.1733,
"h": 268.9
},
"luminance": 0.08011
}Semantic roles & 50–950 ramp
primary
#2E45B1
secondary
#C6B775
accent
#C746E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82