#2E2D9D#2E2D9D
#2E2D9D is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.175 H 274.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2D9D |
|---|---|
| RGB | rgb(46, 45, 157) |
| HSL | hsl(241, 55%, 40%) |
| HSV | hsv(241, 71%, 62%) |
| CMYK | cmyk(70.7%, 71.3%, 0%, 38.4%) |
| CIE-LAB | lab(26.42, 37.62, -60.39) |
| CIE-LCH | lch(26.42, 71.15, 301.92°) |
| OKLab | oklab(38.15% 0.0142 -0.1745) |
| OKLCH | oklch(38.15% 0.175 274.6) |
| XYZ | xyz(8.1489, 4.8912, 32.4064) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.90
Indigo Blue
#3A18B1
ΔE00 5.35
Royal
#0C1793
ΔE00 5.54
Blueberry
#464196
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.69
Cobalt Blue
#030AA7
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2D9D #9C9D2D
analogous
#2D649D #2E2D9D #662D9D
triadic
#2E2D9D #9D2E2D #2D9D2E
tetradic
#2E2D9D #9D2D64 #9C9D2D #2D9D66
square
#2E2D9D #9D2D64 #9C9D2D #2D9D66
split-complementary
#2E2D9D #9D662D #649D2D
monochromatic
#12123E #201F6D #2E2D9D #403FC8 #706FD6
Accessibility & contrast
On white
10.61
#2E2D9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#2E2D9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2D9D
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2D9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2D9D | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2e2d9d; /* rgb */ color: rgb(46, 45, 157); /* oklch */ color: oklch(38.2% 0.175 274.6);
Tailwind
colors: {
custom: {
50: '#7767bb',
500: '#2e2d9d',
950: '#000000',
},
}SCSS
$custom: #2e2d9d; $custom-light: #7767bb; $custom-dark: #000000;
JSON
{
"hex": "#2e2d9d",
"rgb": {
"r": 46,
"g": 45,
"b": 157
},
"hsl": {
"h": 240.536,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.38153,
"c": 0.17512,
"h": 274.6
},
"luminance": 0.04892
}Semantic roles & 50–950 ramp
primary
#2E2D9D
secondary
#BCBD69
accent
#DF49DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81