#2E2E92#2E2E92
#2E2E92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.160 H 275.4°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E92 |
|---|---|
| RGB | rgb(46, 46, 146) |
| HSL | hsl(240, 52%, 38%) |
| HSV | hsv(240, 68%, 57%) |
| CMYK | cmyk(68.5%, 68.5%, 0%, 42.7%) |
| CIE-LAB | lab(25.59, 33.17, -55.01) |
| CIE-LCH | lch(25.59, 64.23, 301.09°) |
| OKLab | oklab(37.23% 0.015 -0.1588) |
| OKLCH | oklch(37.23% 0.16 275.4) |
| XYZ | xyz(7.2903, 4.6095, 27.6941) |
| Luminance | 0.0461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.61
Royal
#0C1793
ΔE00 5.79
Darkslateblue
#483D8B
ΔE00 5.87
Blueberry
#464196
ΔE00 5.94
Indigo Blue
#3A18B1
ΔE00 6.74
Midnight Blue
#191970
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E92 #92922E
analogous
#2E6092 #2E2E92 #602E92
triadic
#2E2E92 #922E2E #2E922E
tetradic
#2E2E92 #922E60 #92922E #2E9260
square
#2E2E92 #922E60 #92922E #2E9260
split-complementary
#2E2E92 #92602E #60922E
monochromatic
#111135 #1F1F63 #2E2E92 #3D3DC1 #6A6AD0
Accessibility & contrast
On white
10.93
#2E2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2E2E92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E92
10.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E92 | 1.00 | 10.93 | 1.92 | 10.93 |
| #FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e2e92; /* rgb */ color: rgb(46, 46, 146); /* oklch */ color: oklch(37.2% 0.160 275.4);
Tailwind
colors: {
custom: {
50: '#7567b3',
500: '#2e2e92',
950: '#000000',
},
}SCSS
$custom: #2e2e92; $custom-light: #7567b3; $custom-dark: #000000;
JSON
{
"hex": "#2e2e92",
"rgb": {
"r": 46,
"g": 46,
"b": 146
},
"hsl": {
"h": 240,
"s": 52.083,
"l": 37.647
},
"oklch": {
"l": 0.37233,
"c": 0.15951,
"h": 275.4
},
"luminance": 0.0461
}Semantic roles & 50–950 ramp
primary
#2E2E92
secondary
#B7B765
accent
#DC4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80