#2E2E82#2E2E82
#2E2E82 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.138 H 276.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E82 |
|---|---|
| RGB | rgb(46, 46, 130) |
| HSL | hsl(240, 48%, 35%) |
| HSV | hsv(240, 65%, 51%) |
| CMYK | cmyk(64.6%, 64.6%, 0%, 49%) |
| CIE-LAB | lab(24.15, 27.48, -47.41) |
| CIE-LCH | lch(24.15, 54.80, 300.10°) |
| OKLab | oklab(35.74% 0.0165 -0.1365) |
| OKLCH | oklch(35.74% 0.138 276.9) |
| XYZ | xyz(6.1317, 4.1460, 21.5919) |
| Luminance | 0.0415 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.49
Midnight Blue
#191970
ΔE00 6.00
Blueberry
#464196
ΔE00 6.30
Sapphire (survey)
#2138AB
ΔE00 6.61
Royal
#0C1793
ΔE00 6.84
Marine
#042E60
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E82 #82822E
analogous
#2E5882 #2E2E82 #582E82
triadic
#2E2E82 #822E2E #2E822E
tetradic
#2E2E82 #822E58 #82822E #2E8258
square
#2E2E82 #822E58 #82822E #2E8258
split-complementary
#2E2E82 #82582E #58822E
monochromatic
#0E0E28 #1E1E55 #2E2E82 #3E3EAF #6363C8
Accessibility & contrast
On white
11.48
#2E2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2E2E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E82
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E82 | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e2e82; /* rgb */ color: rgb(46, 46, 130); /* oklch */ color: oklch(35.7% 0.138 276.9);
Tailwind
colors: {
custom: {
50: '#7167a7',
500: '#2e2e82',
950: '#000000',
},
}SCSS
$custom: #2e2e82; $custom-light: #7167a7; $custom-dark: #000000;
JSON
{
"hex": "#2e2e82",
"rgb": {
"r": 46,
"g": 46,
"b": 130
},
"hsl": {
"h": 240,
"s": 47.727,
"l": 34.51
},
"oklch": {
"l": 0.35735,
"c": 0.13752,
"h": 276.9
},
"luminance": 0.04147
}Semantic roles & 50–950 ramp
primary
#2E2E82
secondary
#AEAE5D
accent
#D750D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F