#2E45A5#2E45A5
#2E45A5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.157 H 268.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2E45A5 |
|---|---|
| RGB | rgb(46, 69, 165) |
| HSL | hsl(228, 56%, 41%) |
| HSV | hsv(228, 72%, 65%) |
| CMYK | cmyk(72.1%, 58.2%, 0%, 35.3%) |
| CIE-LAB | lab(33.03, 25.04, -54.42) |
| CIE-LCH | lch(33.03, 59.90, 294.71°) |
| OKLab | oklab(43.22% -0.0036 -0.1569) |
| OKLCH | oklch(43.22% 0.157 268.7) |
| XYZ | xyz(10.0440, 7.5527, 36.5185) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.39
Sapphire (survey)
#2138AB
ΔE00 4.13
Blue Blue
#2242C7
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 4.86
Blueberry
#464196
ΔE00 4.95
Sapphire
#0F52BA
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E45A5 #A58E2E
analogous
#2E81A5 #2E45A5 #532EA5
triadic
#2E45A5 #A52E45 #45A52E
tetradic
#2E45A5 #A52E81 #A58E2E #2EA553
square
#2E45A5 #A52E81 #A58E2E #2EA553
split-complementary
#2E45A5 #A5532E #81A52E
monochromatic
#131D45 #213175 #2E45A5 #455FCB #7588D8
Accessibility & contrast
On white
8.36
#2E45A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2E45A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E45A5
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E45A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E45A5 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2e45a5; /* rgb */ color: rgb(46, 69, 165); /* oklch */ color: oklch(43.2% 0.157 268.7);
Tailwind
colors: {
custom: {
50: '#7778c0',
500: '#2e45a5',
950: '#000000',
},
}SCSS
$custom: #2e45a5; $custom-light: #7778c0; $custom-dark: #000000;
JSON
{
"hex": "#2e45a5",
"rgb": {
"r": 46,
"g": 69,
"b": 165
},
"hsl": {
"h": 228.403,
"s": 56.398,
"l": 41.373
},
"oklch": {
"l": 0.43221,
"c": 0.15692,
"h": 268.7
},
"luminance": 0.07554
}Semantic roles & 50–950 ramp
primary
#2E45A5
secondary
#C0B06F
accent
#C248E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81