#2E45AA#2E45AA
#2E45AA is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.164 H 268.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2E45AA |
|---|---|
| RGB | rgb(46, 69, 170) |
| HSL | hsl(229, 57%, 42%) |
| HSV | hsv(229, 73%, 67%) |
| CMYK | cmyk(72.9%, 59.4%, 0%, 33.3%) |
| CIE-LAB | lab(33.43, 26.91, -56.76) |
| CIE-LCH | lch(33.43, 62.82, 295.36°) |
| OKLab | oklab(43.64% -0.0035 -0.1638) |
| OKLCH | oklch(43.64% 0.164 268.8) |
| XYZ | xyz(10.5080, 7.7383, 38.9623) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.49
Sapphire (survey)
#2138AB
ΔE00 3.92
Blue Blue
#2242C7
ΔE00 4.02
Blueberry
#464196
ΔE00 5.17
Cobalt (survey)
#1E488F
ΔE00 5.45
Sapphire
#0F52BA
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E45AA #AA932E
analogous
#2E83AA #2E45AA #552EAA
triadic
#2E45AA #AA2E45 #45AA2E
tetradic
#2E45AA #AA2E83 #AA932E #2EAA55
square
#2E45AA #AA2E83 #AA932E #2EAA55
split-complementary
#2E45AA #AA552E #83AA2E
monochromatic
#141E4A #21317A #2E45AA #4861CD #788ADA
Accessibility & contrast
On white
8.24
#2E45AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2E45AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E45AA
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E45AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E45AA | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2e45aa; /* rgb */ color: rgb(46, 69, 170); /* oklch */ color: oklch(43.6% 0.164 268.8);
Tailwind
colors: {
custom: {
50: '#7878c4',
500: '#2e45aa',
950: '#000000',
},
}SCSS
$custom: #2e45aa; $custom-light: #7878c4; $custom-dark: #000000;
JSON
{
"hex": "#2e45aa",
"rgb": {
"r": 46,
"g": 69,
"b": 170
},
"hsl": {
"h": 228.871,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.43643,
"c": 0.16381,
"h": 268.8
},
"luminance": 0.07739
}Semantic roles & 50–950 ramp
primary
#2E45AA
secondary
#C3B371
accent
#C447E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82