#2E3AAE#2E3AAE
#2E3AAE is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.182 H 271.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3AAE |
|---|---|
| RGB | rgb(46, 58, 174) |
| HSL | hsl(234, 58%, 43%) |
| HSV | hsv(234, 74%, 68%) |
| CMYK | cmyk(73.6%, 66.7%, 0%, 31.8%) |
| CIE-LAB | lab(31.02, 35.51, -63.09) |
| CIE-LCH | lch(31.02, 72.40, 299.37°) |
| OKLab | oklab(41.98% 0.004 -0.1824) |
| OKLCH | oklch(41.98% 0.182 271.3) |
| XYZ | xyz(10.2772, 6.6619, 40.7804) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.35
Blue Blue
#2242C7
ΔE00 3.98
Ocean Blue
#4F42B5
ΔE00 4.72
Blueberry
#464196
ΔE00 5.27
Blue With A Hint Of Purple
#533CC6
ΔE00 6.04
Cobalt
#0047AB
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3AAE #AEA22E
analogous
#2E7AAE #2E3AAE #622EAE
triadic
#2E3AAE #AE2E3A #3AAE2E
tetradic
#2E3AAE #AE2E7A #AEA22E #2EAE62
square
#2E3AAE #AE2E7A #AEA22E #2EAE62
split-complementary
#2E3AAE #AE622E #7AAE2E
monochromatic
#141A4D #212A7E #2E3AAE #4A57CF #7A84DC
Accessibility & contrast
On white
9.00
#2E3AAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2E3AAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3AAE
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3AAE | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e3aae; /* rgb */ color: rgb(46, 58, 174); /* oklch */ color: oklch(42.0% 0.182 271.3);
Tailwind
colors: {
custom: {
50: '#7a70c7',
500: '#2e3aae',
950: '#000000',
},
}SCSS
$custom: #2e3aae; $custom-light: #7a70c7; $custom-dark: #000000;
JSON
{
"hex": "#2e3aae",
"rgb": {
"r": 46,
"g": 58,
"b": 174
},
"hsl": {
"h": 234.375,
"s": 58.182,
"l": 43.137
},
"oklch": {
"l": 0.41975,
"c": 0.18246,
"h": 271.3
},
"luminance": 0.06663
}Semantic roles & 50–950 ramp
primary
#2E3AAE
secondary
#C4BD74
accent
#D346E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82