#2E2B95#2E2B95
#2E2B95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.167 H 275.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2B95 |
|---|---|
| RGB | rgb(46, 43, 149) |
| HSL | hsl(242, 55%, 38%) |
| HSV | hsv(242, 71%, 58%) |
| CMYK | cmyk(69.1%, 71.1%, 0%, 41.6%) |
| CIE-LAB | lab(25.19, 36.08, -57.51) |
| CIE-LCH | lch(25.19, 67.89, 302.10°) |
| OKLab | oklab(37.03% 0.0167 -0.1661) |
| OKLCH | oklch(37.03% 0.167 275.7) |
| XYZ | xyz(7.4136, 4.4779, 28.9016) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.89
Royal
#0C1793
ΔE00 5.00
Indigo Blue
#3A18B1
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 6.55
Blueberry
#464196
ΔE00 6.64
Cobalt Blue
#030AA7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2B95 #92952B
analogous
#2B5D95 #2E2B95 #632B95
triadic
#2E2B95 #952E2B #2B952E
tetradic
#2E2B95 #952B5D #92952B #2B9563
square
#2E2B95 #952B5D #92952B #2B9563
split-complementary
#2E2B95 #95632B #5D952B
monochromatic
#111036 #1F1D66 #2E2B95 #3D39C4 #6A67D3
Accessibility & contrast
On white
11.08
#2E2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2E2B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2B95
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2B95 | 1.00 | 11.08 | 1.90 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e2b95; /* rgb */ color: rgb(46, 43, 149); /* oklch */ color: oklch(37.0% 0.167 275.7);
Tailwind
colors: {
custom: {
50: '#7665b5',
500: '#2e2b95',
950: '#000000',
},
}SCSS
$custom: #2e2b95; $custom-light: #7665b5; $custom-dark: #000000;
JSON
{
"hex": "#2e2b95",
"rgb": {
"r": 46,
"g": 43,
"b": 149
},
"hsl": {
"h": 241.698,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.37032,
"c": 0.16698,
"h": 275.7
},
"luminance": 0.04479
}Semantic roles & 50–950 ramp
primary
#2E2B95
secondary
#B7BA62
accent
#DF49DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80