#2E2E90#2E2E90
#2E2E90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.157 H 275.6°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E90 |
|---|---|
| RGB | rgb(46, 46, 144) |
| HSL | hsl(240, 52%, 37%) |
| HSV | hsv(240, 68%, 56%) |
| CMYK | cmyk(68.1%, 68.1%, 0%, 43.5%) |
| CIE-LAB | lab(25.41, 32.46, -54.08) |
| CIE-LCH | lch(25.41, 63.07, 300.97°) |
| OKLab | oklab(37.04% 0.0152 -0.1561) |
| OKLCH | oklch(37.04% 0.157 275.6) |
| XYZ | xyz(7.1361, 4.5478, 26.8819) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.82
Darkslateblue
#483D8B
ΔE00 5.77
Royal
#0C1793
ΔE00 5.85
Blueberry
#464196
ΔE00 5.94
Midnight Blue
#191970
ΔE00 6.92
Indigo Blue
#3A18B1
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E90 #90902E
analogous
#2E5F90 #2E2E90 #5F2E90
triadic
#2E2E90 #902E2E #2E902E
tetradic
#2E2E90 #902E5F #90902E #2E905F
square
#2E2E90 #902E5F #90902E #2E905F
split-complementary
#2E2E90 #905F2E #5F902E
monochromatic
#101033 #1F1F62 #2E2E90 #3D3DBE #6969CF
Accessibility & contrast
On white
11.00
#2E2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2E2E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E90
11.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E90 | 1.00 | 11.00 | 1.91 | 11.00 |
| #FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e2e90; /* rgb */ color: rgb(46, 46, 144); /* oklch */ color: oklch(37.0% 0.157 275.6);
Tailwind
colors: {
custom: {
50: '#7467b1',
500: '#2e2e90',
950: '#000000',
},
}SCSS
$custom: #2e2e90; $custom-light: #7467b1; $custom-dark: #000000;
JSON
{
"hex": "#2e2e90",
"rgb": {
"r": 46,
"g": 46,
"b": 144
},
"hsl": {
"h": 240,
"s": 51.579,
"l": 37.255
},
"oklch": {
"l": 0.3704,
"c": 0.15683,
"h": 275.6
},
"luminance": 0.04548
}Semantic roles & 50–950 ramp
primary
#2E2E90
secondary
#B6B664
accent
#DB4DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80