#2E2D7D#2E2D7D
#2E2D7D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.132 H 277.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2D7D |
|---|---|
| RGB | rgb(46, 45, 125) |
| HSL | hsl(241, 47%, 33%) |
| HSV | hsv(241, 64%, 49%) |
| CMYK | cmyk(63.2%, 64%, 0%, 51%) |
| CIE-LAB | lab(23.46, 26.35, -45.37) |
| CIE-LCH | lch(23.46, 52.47, 300.15°) |
| OKLab | oklab(35.1% 0.0177 -0.1305) |
| OKLCH | oklch(35.1% 0.132 277.7) |
| XYZ | xyz(5.7656, 3.9378, 19.8543) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.63
Darkslateblue
#483D8B
ΔE00 5.74
Blueberry
#464196
ΔE00 6.79
Royal
#0C1793
ΔE00 7.15
Sapphire (survey)
#2138AB
ΔE00 7.44
Marine
#042E60
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2D7D #7C7D2D
analogous
#2D547D #2E2D7D #562D7D
triadic
#2E2D7D #7D2E2D #2D7D2E
tetradic
#2E2D7D #7D2D54 #7C7D2D #2D7D56
square
#2E2D7D #7D2D54 #7C7D2D #2D7D56
split-complementary
#2E2D7D #7D562D #547D2D
monochromatic
#0D0D23 #1D1D50 #2E2D7D #3F3DAA #605FC5
Accessibility & contrast
On white
11.75
#2E2D7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2E2D7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2D7D
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2D7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2D7D | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e2d7d; /* rgb */ color: rgb(46, 45, 125); /* oklch */ color: oklch(35.1% 0.132 277.7);
Tailwind
colors: {
custom: {
50: '#7066a3',
500: '#2e2d7d',
950: '#000000',
},
}SCSS
$custom: #2e2d7d; $custom-light: #7066a3; $custom-dark: #000000;
JSON
{
"hex": "#2e2d7d",
"rgb": {
"r": 46,
"g": 45,
"b": 125
},
"hsl": {
"h": 240.75,
"s": 47.059,
"l": 33.333
},
"oklch": {
"l": 0.351,
"c": 0.13175,
"h": 277.7
},
"luminance": 0.03938
}Semantic roles & 50–950 ramp
primary
#2E2D7D
secondary
#ABAC5A
accent
#D751D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F