#2E2286#2E2286
#2E2286 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.158 H 279.4°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2286 |
|---|---|
| RGB | rgb(46, 34, 134) |
| HSL | hsl(247, 60%, 33%) |
| HSV | hsv(247, 75%, 53%) |
| CMYK | cmyk(65.7%, 74.6%, 0%, 47.5%) |
| CIE-LAB | lab(21.75, 36.39, -53.85) |
| CIE-LCH | lch(21.75, 65.00, 304.05°) |
| OKLab | oklab(34.12% 0.0257 -0.1554) |
| OKLCH | oklch(34.12% 0.158 279.4) |
| XYZ | xyz(6.0004, 3.4457, 22.8985) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.94
Midnight Blue
#191970
ΔE00 4.35
Indigo (survey)
#380282
ΔE00 5.69
Cobalt Blue
#030AA7
ΔE00 6.35
Darkblue
#00008B
ΔE00 6.56
Indigo Blue
#3A18B1
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2286 #7A8622
analogous
#224886 #2E2286 #602286
triadic
#2E2286 #862E22 #22862E
tetradic
#2E2286 #862248 #7A8622 #228660
square
#2E2286 #862248 #7A8622 #228660
split-complementary
#2E2286 #866022 #488622
monochromatic
#0C0924 #1D1655 #2E2286 #3F2EB7 #6050D3
Accessibility & contrast
On white
12.43
#2E2286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2E2286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2286
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2286 | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e2286; /* rgb */ color: rgb(46, 34, 134); /* oklch */ color: oklch(34.1% 0.158 279.4);
Tailwind
colors: {
custom: {
50: '#735faa',
500: '#2e2286',
950: '#000000',
},
}SCSS
$custom: #2e2286; $custom-light: #735faa; $custom-dark: #000000;
JSON
{
"hex": "#2e2286",
"rgb": {
"r": 46,
"g": 34,
"b": 134
},
"hsl": {
"h": 247.2,
"s": 59.524,
"l": 32.941
},
"oklch": {
"l": 0.34117,
"c": 0.15754,
"h": 279.4
},
"luminance": 0.03446
}Semantic roles & 50–950 ramp
primary
#2E2286
secondary
#AAB64E
accent
#E345D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F