#2E2E7D#2E2E7D
#2E2E7D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.130 H 277.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E7D |
|---|---|
| RGB | rgb(46, 46, 125) |
| HSL | hsl(240, 46%, 34%) |
| HSV | hsv(240, 63%, 49%) |
| CMYK | cmyk(63.2%, 63.2%, 0%, 51%) |
| CIE-LAB | lab(23.72, 25.68, -44.95) |
| CIE-LCH | lch(23.72, 51.77, 299.74°) |
| OKLab | oklab(35.29% 0.0167 -0.1293) |
| OKLCH | oklch(35.29% 0.13 277.4) |
| XYZ | xyz(5.8042, 4.0151, 19.8672) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.59
Midnight Blue
#191970
ΔE00 5.90
Blueberry
#464196
ΔE00 6.61
Sapphire (survey)
#2138AB
ΔE00 7.36
Royal
#0C1793
ΔE00 7.40
Marine
#042E60
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E7D #7D7D2E
analogous
#2E557D #2E2E7D #552E7D
triadic
#2E2E7D #7D2E2E #2E7D2E
tetradic
#2E2E7D #7D2E55 #7D7D2E #2E7D55
square
#2E2E7D #7D2E55 #7D7D2E #2E7D55
split-complementary
#2E2E7D #7D552E #557D2E
monochromatic
#0D0D24 #1E1E50 #2E2E7D #3E3EAA #6161C5
Accessibility & contrast
On white
11.65
#2E2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2E2E7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E7D
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E7D | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e2e7d; /* rgb */ color: rgb(46, 46, 125); /* oklch */ color: oklch(35.3% 0.130 277.4);
Tailwind
colors: {
custom: {
50: '#7067a3',
500: '#2e2e7d',
950: '#000000',
},
}SCSS
$custom: #2e2e7d; $custom-light: #7067a3; $custom-dark: #000000;
JSON
{
"hex": "#2e2e7d",
"rgb": {
"r": 46,
"g": 46,
"b": 125
},
"hsl": {
"h": 240,
"s": 46.199,
"l": 33.529
},
"oklch": {
"l": 0.35288,
"c": 0.13039,
"h": 277.4
},
"luminance": 0.04016
}Semantic roles & 50–950 ramp
primary
#2E2E7D
secondary
#ABAB5B
accent
#D652D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F