#2E2D7F#2E2D7F
#2E2D7F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.135 H 277.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2D7F |
|---|---|
| RGB | rgb(46, 45, 127) |
| HSL | hsl(241, 48%, 34%) |
| HSV | hsv(241, 65%, 50%) |
| CMYK | cmyk(63.8%, 64.6%, 0%, 50.2%) |
| CIE-LAB | lab(23.64, 27.07, -46.35) |
| CIE-LCH | lch(23.64, 53.68, 300.28°) |
| OKLab | oklab(35.28% 0.0176 -0.1334) |
| OKLCH | oklch(35.28% 0.135 277.5) |
| XYZ | xyz(5.8946, 3.9895, 20.5340) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 5.69
Blueberry
#464196
ΔE00 6.66
Royal
#0C1793
ΔE00 6.91
Sapphire (survey)
#2138AB
ΔE00 7.14
Marine
#042E60
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2D7F #7E7F2D
analogous
#2D557F #2E2D7F #572D7F
triadic
#2E2D7F #7F2E2D #2D7F2E
tetradic
#2E2D7F #7F2D55 #7E7F2D #2D7F57
square
#2E2D7F #7F2D55 #7E7F2D #2D7F57
split-complementary
#2E2D7F #7F572D #557F2D
monochromatic
#0D0D25 #1E1D52 #2E2D7F #3E3DAC #6160C7
Accessibility & contrast
On white
11.68
#2E2D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2E2D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2D7F
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2D7F | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e2d7f; /* rgb */ color: rgb(46, 45, 127); /* oklch */ color: oklch(35.3% 0.135 277.5);
Tailwind
colors: {
custom: {
50: '#7166a5',
500: '#2e2d7f',
950: '#000000',
},
}SCSS
$custom: #2e2d7f; $custom-light: #7166a5; $custom-dark: #000000;
JSON
{
"hex": "#2e2d7f",
"rgb": {
"r": 46,
"g": 45,
"b": 127
},
"hsl": {
"h": 240.732,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.35279,
"c": 0.13459,
"h": 277.5
},
"luminance": 0.0399
}Semantic roles & 50–950 ramp
primary
#2E2D7F
secondary
#ACAD5B
accent
#D751D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F