#2E3AA9#2E3AA9
#2E3AA9 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.176 H 271.4°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3AA9 |
|---|---|
| RGB | rgb(46, 58, 169) |
| HSL | hsl(234, 57%, 42%) |
| HSV | hsv(234, 73%, 66%) |
| CMYK | cmyk(72.8%, 65.7%, 0%, 33.7%) |
| CIE-LAB | lab(30.57, 33.72, -60.84) |
| CIE-LCH | lch(30.57, 69.56, 298.99°) |
| OKLab | oklab(41.5% 0.0044 -0.1758) |
| OKLCH | oklch(41.5% 0.176 271.4) |
| XYZ | xyz(9.7988, 6.4705, 38.2610) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.20
Blue Blue
#2242C7
ΔE00 4.53
Blueberry
#464196
ΔE00 4.85
Ocean Blue
#4F42B5
ΔE00 5.02
Cobalt
#0047AB
ΔE00 6.14
Darkslateblue
#483D8B
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3AA9 #A99D2E
analogous
#2E78A9 #2E3AA9 #5F2EA9
triadic
#2E3AA9 #A92E3A #3AA92E
tetradic
#2E3AA9 #A92E78 #A99D2E #2EA95F
square
#2E3AA9 #A92E78 #A99D2E #2EA95F
split-complementary
#2E3AA9 #A95F2E #78A92E
monochromatic
#141949 #212979 #2E3AA9 #4754CD #7781DA
Accessibility & contrast
On white
9.15
#2E3AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2E3AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3AA9
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3AA9 | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e3aa9; /* rgb */ color: rgb(46, 58, 169); /* oklch */ color: oklch(41.5% 0.176 271.4);
Tailwind
colors: {
custom: {
50: '#7970c4',
500: '#2e3aa9',
950: '#000000',
},
}SCSS
$custom: #2e3aa9; $custom-light: #7970c4; $custom-dark: #000000;
JSON
{
"hex": "#2e3aa9",
"rgb": {
"r": 46,
"g": 58,
"b": 169
},
"hsl": {
"h": 234.146,
"s": 57.209,
"l": 42.157
},
"oklch": {
"l": 0.41504,
"c": 0.17589,
"h": 271.4
},
"luminance": 0.06472
}Semantic roles & 50–950 ramp
primary
#2E3AA9
secondary
#C2BA71
accent
#D247E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82