#2E2399#2E2399
#2E2399 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.180 H 276.6°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2399 |
|---|---|
| RGB | rgb(46, 35, 153) |
| HSL | hsl(246, 63%, 37%) |
| HSV | hsv(246, 77%, 60%) |
| CMYK | cmyk(69.9%, 77.1%, 0%, 40%) |
| CIE-LAB | lab(23.94, 42.07, -62.03) |
| CIE-LCH | lch(23.94, 74.95, 304.14°) |
| OKLab | oklab(36.27% 0.0208 -0.1793) |
| OKLCH | oklch(36.27% 0.18 276.6) |
| XYZ | xyz(7.4756, 4.0821, 30.5248) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.53
Indigo Blue
#3A18B1
ΔE00 4.08
Cobalt Blue
#030AA7
ΔE00 4.77
Royal Blue (survey)
#0504AA
ΔE00 5.26
Ultramarine
#2000B1
ΔE00 5.40
Sapphire (survey)
#2138AB
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2399 #8E9923
analogous
#235399 #2E2399 #692399
triadic
#2E2399 #992E23 #23992E
tetradic
#2E2399 #992353 #8E9923 #239969
square
#2E2399 #992353 #8E9923 #239969
split-complementary
#2E2399 #996923 #539923
monochromatic
#100C35 #1F1867 #2E2399 #3D2ECB #685DDA
Accessibility & contrast
On white
11.56
#2E2399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2E2399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2399
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2399 | 1.00 | 11.56 | 1.82 | 11.56 |
| #FFFFFF | 11.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003497
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e2399; /* rgb */ color: rgb(46, 35, 153); /* oklch */ color: oklch(36.3% 0.180 276.6);
Tailwind
colors: {
custom: {
50: '#7760b8',
500: '#2e2399',
950: '#000000',
},
}SCSS
$custom: #2e2399; $custom-light: #7760b8; $custom-dark: #000000;
JSON
{
"hex": "#2e2399",
"rgb": {
"r": 46,
"g": 35,
"b": 153
},
"hsl": {
"h": 245.593,
"s": 62.766,
"l": 36.863
},
"oklch": {
"l": 0.36266,
"c": 0.18048,
"h": 276.6
},
"luminance": 0.04083
}Semantic roles & 50–950 ramp
primary
#2E2399
secondary
#B5BE59
accent
#E642D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981