#2E2E7E#2E2E7E
#2E2E7E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.132 H 277.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E7E |
|---|---|
| RGB | rgb(46, 46, 126) |
| HSL | hsl(240, 47%, 34%) |
| HSV | hsv(240, 63%, 49%) |
| CMYK | cmyk(63.5%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(23.81, 26.04, -45.45) |
| CIE-LCH | lch(23.81, 52.38, 299.82°) |
| OKLab | oklab(35.38% 0.0167 -0.1308) |
| OKLCH | oklch(35.38% 0.132 277.3) |
| XYZ | xyz(5.8684, 4.0407, 20.2053) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.56
Midnight Blue
#191970
ΔE00 5.91
Blueberry
#464196
ΔE00 6.54
Sapphire (survey)
#2138AB
ΔE00 7.20
Royal
#0C1793
ΔE00 7.28
Marine
#042E60
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E7E #7E7E2E
analogous
#2E567E #2E2E7E #562E7E
triadic
#2E2E7E #7E2E2E #2E7E2E
tetradic
#2E2E7E #7E2E56 #7E7E2E #2E7E56
square
#2E2E7E #7E2E56 #7E7E2E #2E7E56
split-complementary
#2E2E7E #7E562E #567E2E
monochromatic
#0D0D24 #1E1E51 #2E2E7E #3E3EAB #6161C5
Accessibility & contrast
On white
11.61
#2E2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2E2E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E7E
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E7E | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e2e7e; /* rgb */ color: rgb(46, 46, 126); /* oklch */ color: oklch(35.4% 0.132 277.3);
Tailwind
colors: {
custom: {
50: '#7067a4',
500: '#2e2e7e',
950: '#000000',
},
}SCSS
$custom: #2e2e7e; $custom-light: #7067a4; $custom-dark: #000000;
JSON
{
"hex": "#2e2e7e",
"rgb": {
"r": 46,
"g": 46,
"b": 126
},
"hsl": {
"h": 240,
"s": 46.512,
"l": 33.725
},
"oklch": {
"l": 0.35377,
"c": 0.13183,
"h": 277.3
},
"luminance": 0.04041
}Semantic roles & 50–950 ramp
primary
#2E2E7E
secondary
#ACAC5C
accent
#D652D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F