#2E2E93#2E2E93
#2E2E93 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.161 H 275.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E93 |
|---|---|
| RGB | rgb(46, 46, 147) |
| HSL | hsl(240, 52%, 38%) |
| HSV | hsv(240, 69%, 58%) |
| CMYK | cmyk(68.7%, 68.7%, 0%, 42.4%) |
| CIE-LAB | lab(25.69, 33.52, -55.47) |
| CIE-LCH | lch(25.69, 64.81, 301.14°) |
| OKLab | oklab(37.33% 0.0149 -0.1602) |
| OKLCH | oklch(37.33% 0.161 275.3) |
| XYZ | xyz(7.3684, 4.6408, 28.1055) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.50
Royal
#0C1793
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 5.92
Blueberry
#464196
ΔE00 5.95
Indigo Blue
#3A18B1
ΔE00 6.62
Midnight Blue
#191970
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E93 #93932E
analogous
#2E6093 #2E2E93 #602E93
triadic
#2E2E93 #932E2E #2E932E
tetradic
#2E2E93 #932E60 #93932E #2E9360
square
#2E2E93 #932E60 #93932E #2E9360
split-complementary
#2E2E93 #93602E #60932E
monochromatic
#111136 #1F1F64 #2E2E93 #3D3DC2 #6B6BD1
Accessibility & contrast
On white
10.89
#2E2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2E2E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E93
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E93 | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e2e93; /* rgb */ color: rgb(46, 46, 147); /* oklch */ color: oklch(37.3% 0.161 275.3);
Tailwind
colors: {
custom: {
50: '#7567b4',
500: '#2e2e93',
950: '#000000',
},
}SCSS
$custom: #2e2e93; $custom-light: #7567b4; $custom-dark: #000000;
JSON
{
"hex": "#2e2e93",
"rgb": {
"r": 46,
"g": 46,
"b": 147
},
"hsl": {
"h": 240,
"s": 52.332,
"l": 37.843
},
"oklch": {
"l": 0.37329,
"c": 0.16086,
"h": 275.3
},
"luminance": 0.04641
}Semantic roles & 50–950 ramp
primary
#2E2E93
secondary
#B8B865
accent
#DC4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80