#2E2D9E#2E2D9E
#2E2D9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.176 H 274.5°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2D9E |
|---|---|
| RGB | rgb(46, 45, 158) |
| HSL | hsl(241, 56%, 40%) |
| HSV | hsv(241, 72%, 62%) |
| CMYK | cmyk(70.9%, 71.5%, 0%, 38%) |
| CIE-LAB | lab(26.52, 37.96, -60.84) |
| CIE-LCH | lch(26.52, 71.71, 301.96°) |
| OKLab | oklab(38.25% 0.014 -0.1758) |
| OKLCH | oklch(38.25% 0.176 274.5) |
| XYZ | xyz(8.2346, 4.9255, 32.8579) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.85
Indigo Blue
#3A18B1
ΔE00 5.26
Royal
#0C1793
ΔE00 5.57
Blueberry
#464196
ΔE00 6.42
Cobalt Blue
#030AA7
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2D9E #9D9E2D
analogous
#2D659E #2E2D9E #672D9E
triadic
#2E2D9E #9E2E2D #2D9E2E
tetradic
#2E2D9E #9E2D65 #9D9E2D #2D9E67
square
#2E2D9E #9E2D65 #9D9E2D #2D9E67
split-complementary
#2E2D9E #9E672D #659E2D
monochromatic
#12123F #201F6E #2E2D9E #4140C9 #706FD6
Accessibility & contrast
On white
10.58
#2E2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2E2D9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2D9E
10.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2D9E | 1.00 | 10.58 | 1.99 | 10.58 |
| #FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2e2d9e; /* rgb */ color: rgb(46, 45, 158); /* oklch */ color: oklch(38.3% 0.176 274.5);
Tailwind
colors: {
custom: {
50: '#7767bc',
500: '#2e2d9e',
950: '#000000',
},
}SCSS
$custom: #2e2d9e; $custom-light: #7767bc; $custom-dark: #000000;
JSON
{
"hex": "#2e2d9e",
"rgb": {
"r": 46,
"g": 45,
"b": 158
},
"hsl": {
"h": 240.531,
"s": 55.665,
"l": 39.804
},
"oklch": {
"l": 0.38254,
"c": 0.17641,
"h": 274.5
},
"luminance": 0.04926
}Semantic roles & 50–950 ramp
primary
#2E2D9E
secondary
#BDBD69
accent
#DF49DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81