#2E2B99#2E2B99
#2E2B99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.172 H 275.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2B99 |
|---|---|
| RGB | rgb(46, 43, 153) |
| HSL | hsl(242, 56%, 38%) |
| HSV | hsv(242, 72%, 60%) |
| CMYK | cmyk(69.9%, 71.9%, 0%, 40%) |
| CIE-LAB | lab(25.59, 37.45, -59.32) |
| CIE-LCH | lch(25.59, 70.16, 302.27°) |
| OKLab | oklab(37.43% 0.0161 -0.1714) |
| OKLCH | oklch(37.43% 0.172 275.4) |
| XYZ | xyz(7.7385, 4.6078, 30.6124) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.59
Royal
#0C1793
ΔE00 5.01
Indigo Blue
#3A18B1
ΔE00 5.33
Cobalt Blue
#030AA7
ΔE00 6.47
Blueberry
#464196
ΔE00 6.71
Darkslateblue
#483D8B
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2B99 #96992B
analogous
#2B5F99 #2E2B99 #652B99
triadic
#2E2B99 #992E2B #2B992E
tetradic
#2E2B99 #992B5F #96992B #2B9965
square
#2E2B99 #992B5F #96992B #2B9965
split-complementary
#2E2B99 #99652B #5F992B
monochromatic
#111039 #201E69 #2E2B99 #3E3AC8 #6C69D5
Accessibility & contrast
On white
10.93
#2E2B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2E2B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2B99
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2B99 | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e2b99; /* rgb */ color: rgb(46, 43, 153); /* oklch */ color: oklch(37.4% 0.172 275.4);
Tailwind
colors: {
custom: {
50: '#7665b8',
500: '#2e2b99',
950: '#000000',
},
}SCSS
$custom: #2e2b99; $custom-light: #7665b8; $custom-dark: #000000;
JSON
{
"hex": "#2e2b99",
"rgb": {
"r": 46,
"g": 43,
"b": 153
},
"hsl": {
"h": 241.636,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.37434,
"c": 0.17217,
"h": 275.4
},
"luminance": 0.04609
}Semantic roles & 50–950 ramp
primary
#2E2B99
secondary
#B9BC64
accent
#DF48DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80