#2E2296#2E2296
#2E2296 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.178 H 277.1°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2296 |
|---|---|
| RGB | rgb(46, 34, 150) |
| HSL | hsl(246, 63%, 36%) |
| HSV | hsv(246, 77%, 59%) |
| CMYK | cmyk(69.3%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(23.43, 41.64, -61.04) |
| CIE-LCH | lch(23.43, 73.89, 304.30°) |
| OKLab | oklab(35.81% 0.0221 -0.1764) |
| OKLCH | oklch(35.81% 0.178 277.1) |
| XYZ | xyz(7.2020, 3.9263, 29.2266) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.31
Indigo Blue
#3A18B1
ΔE00 4.36
Cobalt Blue
#030AA7
ΔE00 4.78
Royal Blue (survey)
#0504AA
ΔE00 5.27
Ultramarine
#2000B1
ΔE00 5.49
Indigo (survey)
#380282
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2296 #8A9622
analogous
#225096 #2E2296 #682296
triadic
#2E2296 #962E22 #22962E
tetradic
#2E2296 #962250 #8A9622 #229668
square
#2E2296 #962250 #8A9622 #229668
split-complementary
#2E2296 #966822 #509622
monochromatic
#0F0B32 #1F1764 #2E2296 #3D2DC8 #6659D9
Accessibility & contrast
On white
11.76
#2E2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#2E2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2296
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2296 | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e2296; /* rgb */ color: rgb(46, 34, 150); /* oklch */ color: oklch(35.8% 0.178 277.1);
Tailwind
colors: {
custom: {
50: '#7760b6',
500: '#2e2296',
950: '#000000',
},
}SCSS
$custom: #2e2296; $custom-light: #7760b6; $custom-dark: #000000;
JSON
{
"hex": "#2e2296",
"rgb": {
"r": 46,
"g": 34,
"b": 150
},
"hsl": {
"h": 246.207,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.35807,
"c": 0.17775,
"h": 277.1
},
"luminance": 0.03927
}Semantic roles & 50–950 ramp
primary
#2E2296
secondary
#B3BE56
accent
#E642D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980