#2E2D9B#2E2D9B
#2E2D9B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.173 H 274.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2D9B |
|---|---|
| RGB | rgb(46, 45, 155) |
| HSL | hsl(241, 55%, 39%) |
| HSV | hsv(241, 71%, 61%) |
| CMYK | cmyk(70.3%, 71%, 0%, 39.2%) |
| CIE-LAB | lab(26.23, 36.93, -59.49) |
| CIE-LCH | lch(26.23, 70.02, 301.83°) |
| OKLab | oklab(37.95% 0.0145 -0.1719) |
| OKLCH | oklch(37.95% 0.173 274.8) |
| XYZ | xyz(7.9795, 4.8234, 31.5145) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.03
Royal
#0C1793
ΔE00 5.49
Indigo Blue
#3A18B1
ΔE00 5.54
Blueberry
#464196
ΔE00 6.32
Darkslateblue
#483D8B
ΔE00 6.56
Cobalt Blue
#030AA7
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2D9B #9A9B2D
analogous
#2D639B #2E2D9B #652D9B
triadic
#2E2D9B #9B2E2D #2D9B2E
tetradic
#2E2D9B #9B2D63 #9A9B2D #2D9B65
square
#2E2D9B #9B2D63 #9A9B2D #2D9B65
split-complementary
#2E2D9B #9B652D #639B2D
monochromatic
#12113C #201F6C #2E2D9B #3F3EC7 #6F6ED5
Accessibility & contrast
On white
10.69
#2E2D9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2E2D9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2D9B
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2D9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2D9B | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e2d9b; /* rgb */ color: rgb(46, 45, 155); /* oklch */ color: oklch(38.0% 0.173 274.8);
Tailwind
colors: {
custom: {
50: '#7767ba',
500: '#2e2d9b',
950: '#000000',
},
}SCSS
$custom: #2e2d9b; $custom-light: #7767ba; $custom-dark: #000000;
JSON
{
"hex": "#2e2d9b",
"rgb": {
"r": 46,
"g": 45,
"b": 155
},
"hsl": {
"h": 240.545,
"s": 55,
"l": 39.216
},
"oklch": {
"l": 0.37953,
"c": 0.17254,
"h": 274.8
},
"luminance": 0.04824
}Semantic roles & 50–950 ramp
primary
#2E2D9B
secondary
#BBBC68
accent
#DE49DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81