#2E2E95#2E2E95
#2E2E95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.164 H 275.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E95 |
|---|---|
| RGB | rgb(46, 46, 149) |
| HSL | hsl(240, 53%, 38%) |
| HSV | hsv(240, 69%, 58%) |
| CMYK | cmyk(69.1%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(25.87, 34.22, -56.39) |
| CIE-LCH | lch(25.87, 65.96, 301.25°) |
| OKLab | oklab(37.52% 0.0146 -0.1629) |
| OKLCH | oklch(37.52% 0.164 275.1) |
| XYZ | xyz(7.5267, 4.7041, 28.9393) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.31
Royal
#0C1793
ΔE00 5.72
Blueberry
#464196
ΔE00 5.97
Darkslateblue
#483D8B
ΔE00 6.03
Indigo Blue
#3A18B1
ΔE00 6.39
Midnight Blue
#191970
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E95 #95952E
analogous
#2E6195 #2E2E95 #612E95
triadic
#2E2E95 #952E2E #2E952E
tetradic
#2E2E95 #952E61 #95952E #2E9561
square
#2E2E95 #952E61 #95952E #2E9561
split-complementary
#2E2E95 #95612E #61952E
monochromatic
#111137 #202066 #2E2E95 #3D3DC3 #6C6CD2
Accessibility & contrast
On white
10.82
#2E2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2E2E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E95
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E95 | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e2e95; /* rgb */ color: rgb(46, 46, 149); /* oklch */ color: oklch(37.5% 0.164 275.1);
Tailwind
colors: {
custom: {
50: '#7567b5',
500: '#2e2e95',
950: '#000000',
},
}SCSS
$custom: #2e2e95; $custom-light: #7567b5; $custom-dark: #000000;
JSON
{
"hex": "#2e2e95",
"rgb": {
"r": 46,
"g": 46,
"b": 149
},
"hsl": {
"h": 240,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.37523,
"c": 0.16351,
"h": 275.1
},
"luminance": 0.04705
}Semantic roles & 50–950 ramp
primary
#2E2E95
secondary
#B9B966
accent
#DC4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80