#2E45A4#2E45A4
#2E45A4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.156 H 268.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2E45A4 |
|---|---|
| RGB | rgb(46, 69, 164) |
| HSL | hsl(228, 56%, 41%) |
| HSV | hsv(228, 72%, 64%) |
| CMYK | cmyk(72%, 57.9%, 0%, 35.7%) |
| CIE-LAB | lab(32.95, 24.66, -53.94) |
| CIE-LCH | lch(32.95, 59.31, 294.57°) |
| OKLab | oklab(43.14% -0.0036 -0.1555) |
| OKLCH | oklch(43.14% 0.156 268.7) |
| XYZ | xyz(9.9534, 7.5164, 36.0410) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.38
Sapphire (survey)
#2138AB
ΔE00 4.19
Cobalt (survey)
#1E488F
ΔE00 4.75
Blue Blue
#2242C7
ΔE00 4.89
Blueberry
#464196
ΔE00 4.92
Sapphire
#0F52BA
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E45A4 #A48D2E
analogous
#2E80A4 #2E45A4 #522EA4
triadic
#2E45A4 #A42E45 #45A42E
tetradic
#2E45A4 #A42E80 #A48D2E #2EA452
square
#2E45A4 #A42E80 #A48D2E #2EA452
split-complementary
#2E45A4 #A4522E #80A42E
monochromatic
#131D44 #213174 #2E45A4 #455FCB #7488D8
Accessibility & contrast
On white
8.39
#2E45A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2E45A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E45A4
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E45A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E45A4 | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2e45a4; /* rgb */ color: rgb(46, 69, 164); /* oklch */ color: oklch(43.1% 0.156 268.7);
Tailwind
colors: {
custom: {
50: '#7778c0',
500: '#2e45a4',
950: '#000000',
},
}SCSS
$custom: #2e45a4; $custom-light: #7778c0; $custom-dark: #000000;
JSON
{
"hex": "#2e45a4",
"rgb": {
"r": 46,
"g": 69,
"b": 164
},
"hsl": {
"h": 228.305,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.43138,
"c": 0.15553,
"h": 268.7
},
"luminance": 0.07517
}Semantic roles & 50–950 ramp
primary
#2E45A4
secondary
#C0B06E
accent
#C248DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81