#2E2397#2E2397
#2E2397 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.178 H 276.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2397 |
|---|---|
| RGB | rgb(46, 35, 151) |
| HSL | hsl(246, 62%, 36%) |
| HSV | hsv(246, 77%, 59%) |
| CMYK | cmyk(69.5%, 76.8%, 0%, 40.8%) |
| CIE-LAB | lab(23.73, 41.42, -61.16) |
| CIE-LCH | lch(23.73, 73.86, 304.11°) |
| OKLab | oklab(36.05% 0.0213 -0.1767) |
| OKLCH | oklch(36.05% 0.178 276.9) |
| XYZ | xyz(7.3118, 4.0166, 29.6621) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.47
Indigo Blue
#3A18B1
ΔE00 4.33
Cobalt Blue
#030AA7
ΔE00 4.89
Royal Blue (survey)
#0504AA
ΔE00 5.38
Ultramarine
#2000B1
ΔE00 5.58
Indigo (survey)
#380282
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2397 #8C9723
analogous
#235297 #2E2397 #682397
triadic
#2E2397 #972E23 #23972E
tetradic
#2E2397 #972352 #8C9723 #239768
square
#2E2397 #972352 #8C9723 #239768
split-complementary
#2E2397 #976823 #529723
monochromatic
#100C34 #1F1765 #2E2397 #3D2FC9 #675BD9
Accessibility & contrast
On white
11.64
#2E2397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2E2397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2397
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2397 | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e2397; /* rgb */ color: rgb(46, 35, 151); /* oklch */ color: oklch(36.0% 0.178 276.9);
Tailwind
colors: {
custom: {
50: '#7760b7',
500: '#2e2397',
950: '#000000',
},
}SCSS
$custom: #2e2397; $custom-light: #7760b7; $custom-dark: #000000;
JSON
{
"hex": "#2e2397",
"rgb": {
"r": 46,
"g": 35,
"b": 151
},
"hsl": {
"h": 245.69,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.3605,
"c": 0.17801,
"h": 276.9
},
"luminance": 0.04017
}Semantic roles & 50–950 ramp
primary
#2E2397
secondary
#B4BE58
accent
#E542D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980