#2E218E#2E218E
#2E218E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.169 H 278.4°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2E218E |
|---|---|
| RGB | rgb(46, 33, 142) |
| HSL | hsl(247, 62%, 34%) |
| HSV | hsv(247, 77%, 56%) |
| CMYK | cmyk(67.6%, 76.8%, 0%, 44.3%) |
| CIE-LAB | lab(22.38, 39.59, -57.82) |
| CIE-LCH | lch(22.38, 70.07, 304.40°) |
| OKLab | oklab(34.81% 0.0246 -0.167) |
| OKLCH | oklch(34.81% 0.169 278.4) |
| XYZ | xyz(6.5515, 3.6210, 25.9396) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.26
Midnight Blue
#191970
ΔE00 5.28
Cobalt Blue
#030AA7
ΔE00 5.29
Indigo Blue
#3A18B1
ΔE00 5.35
Indigo (survey)
#380282
ΔE00 5.55
Royal Blue (survey)
#0504AA
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E218E #818E21
analogous
#214B8E #2E218E #65218E
triadic
#2E218E #8E2E21 #218E2E
tetradic
#2E218E #8E214B #818E21 #218E65
square
#2E218E #8E214B #818E21 #218E65
split-complementary
#2E218E #8E6521 #4B8E21
monochromatic
#0E0A2B #1E155C #2E218E #3E2DC0 #6252D7
Accessibility & contrast
On white
12.18
#2E218E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2E218E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E218E
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E218E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E218E | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00318C
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2e218e; /* rgb */ color: rgb(46, 33, 142); /* oklch */ color: oklch(34.8% 0.169 278.4);
Tailwind
colors: {
custom: {
50: '#755fb0',
500: '#2e218e',
950: '#000000',
},
}SCSS
$custom: #2e218e; $custom-light: #755fb0; $custom-dark: #000000;
JSON
{
"hex": "#2e218e",
"rgb": {
"r": 46,
"g": 33,
"b": 142
},
"hsl": {
"h": 247.156,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.34813,
"c": 0.16878,
"h": 278.4
},
"luminance": 0.03622
}Semantic roles & 50–950 ramp
primary
#2E218E
secondary
#AEBA50
accent
#E542D2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980