#2E3AAD#2E3AAD
#2E3AAD is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.181 H 271.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3AAD |
|---|---|
| RGB | rgb(46, 58, 173) |
| HSL | hsl(234, 58%, 43%) |
| HSV | hsv(234, 73%, 68%) |
| CMYK | cmyk(73.4%, 66.5%, 0%, 32.2%) |
| CIE-LAB | lab(30.93, 35.15, -62.64) |
| CIE-LCH | lch(30.93, 71.83, 299.30°) |
| OKLab | oklab(41.88% 0.0041 -0.1811) |
| OKLCH | oklch(41.88% 0.181 271.3) |
| XYZ | xyz(10.1800, 6.6230, 40.2689) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.29
Blue Blue
#2242C7
ΔE00 4.09
Ocean Blue
#4F42B5
ΔE00 4.77
Blueberry
#464196
ΔE00 5.19
Blue With A Hint Of Purple
#533CC6
ΔE00 6.14
Cobalt
#0047AB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3AAD #ADA12E
analogous
#2E79AD #2E3AAD #622EAD
triadic
#2E3AAD #AD2E3A #3AAD2E
tetradic
#2E3AAD #AD2E79 #ADA12E #2EAD62
square
#2E3AAD #AD2E79 #ADA12E #2EAD62
split-complementary
#2E3AAD #AD622E #79AD2E
monochromatic
#141A4C #212A7D #2E3AAD #4956CF #7A83DC
Accessibility & contrast
On white
9.03
#2E3AAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2E3AAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3AAD
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3AAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3AAD | 1.00 | 9.03 | 2.32 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2e3aad; /* rgb */ color: rgb(46, 58, 173); /* oklch */ color: oklch(41.9% 0.181 271.3);
Tailwind
colors: {
custom: {
50: '#7a70c6',
500: '#2e3aad',
950: '#000000',
},
}SCSS
$custom: #2e3aad; $custom-light: #7a70c6; $custom-dark: #000000;
JSON
{
"hex": "#2e3aad",
"rgb": {
"r": 46,
"g": 58,
"b": 173
},
"hsl": {
"h": 234.331,
"s": 57.991,
"l": 42.941
},
"oklch": {
"l": 0.4188,
"c": 0.18116,
"h": 271.3
},
"luminance": 0.06624
}Semantic roles & 50–950 ramp
primary
#2E3AAD
secondary
#C4BC73
accent
#D347E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82