#2E2486#2E2486
#2E2486 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.155 H 279.0°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2486 |
|---|---|
| RGB | rgb(46, 36, 134) |
| HSL | hsl(246, 58%, 33%) |
| HSV | hsv(246, 73%, 53%) |
| CMYK | cmyk(65.7%, 73.1%, 0%, 47.5%) |
| CIE-LAB | lab(22.17, 35.21, -53.16) |
| CIE-LCH | lch(22.17, 63.76, 303.52°) |
| OKLab | oklab(34.42% 0.0243 -0.1534) |
| OKLCH | oklch(34.42% 0.155 279) |
| XYZ | xyz(6.0593, 3.5633, 22.9181) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.25
Midnight Blue
#191970
ΔE00 4.51
Indigo (survey)
#380282
ΔE00 6.20
Cobalt Blue
#030AA7
ΔE00 6.68
Indigo Blue
#3A18B1
ΔE00 6.77
Darkblue
#00008B
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2486 #7C8624
analogous
#244B86 #2E2486 #5F2486
triadic
#2E2486 #862E24 #24862E
tetradic
#2E2486 #86244B #7C8624 #24865F
square
#2E2486 #86244B #7C8624 #24865F
split-complementary
#2E2486 #865F24 #4B8624
monochromatic
#0D0A26 #1D1756 #2E2486 #3F31B6 #6053D1
Accessibility & contrast
On white
12.26
#2E2486 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2E2486 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2486
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2486 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2486 | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2e2486; /* rgb */ color: rgb(46, 36, 134); /* oklch */ color: oklch(34.4% 0.155 279.0);
Tailwind
colors: {
custom: {
50: '#7360aa',
500: '#2e2486',
950: '#000000',
},
}SCSS
$custom: #2e2486; $custom-light: #7360aa; $custom-dark: #000000;
JSON
{
"hex": "#2e2486",
"rgb": {
"r": 46,
"g": 36,
"b": 134
},
"hsl": {
"h": 246.122,
"s": 57.647,
"l": 33.333
},
"oklch": {
"l": 0.3442,
"c": 0.1553,
"h": 279
},
"luminance": 0.03564
}Semantic roles & 50–950 ramp
primary
#2E2486
secondary
#ABB551
accent
#E147D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F