#2E2586#2E2586
#2E2586 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.154 H 278.8°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2586 |
|---|---|
| RGB | rgb(46, 37, 134) |
| HSL | hsl(246, 57%, 34%) |
| HSV | hsv(246, 72%, 53%) |
| CMYK | cmyk(65.7%, 72.4%, 0%, 47.5%) |
| CIE-LAB | lab(22.39, 34.60, -52.80) |
| CIE-LCH | lch(22.39, 63.13, 303.24°) |
| OKLab | oklab(34.58% 0.0235 -0.1523) |
| OKLCH | oklch(34.58% 0.154 278.8) |
| XYZ | xyz(6.0900, 3.6247, 22.9283) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.42
Midnight Blue
#191970
ΔE00 4.61
Indigo (survey)
#380282
ΔE00 6.47
Cobalt Blue
#030AA7
ΔE00 6.86
Indigo Blue
#3A18B1
ΔE00 6.88
Darkblue
#00008B
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2586 #7D8625
analogous
#254C86 #2E2586 #5E2586
triadic
#2E2586 #862E25 #25862E
tetradic
#2E2586 #86254C #7D8625 #25865E
square
#2E2586 #86254C #7D8625 #25865E
split-complementary
#2E2586 #865E25 #4C8625
monochromatic
#0D0B26 #1E1856 #2E2586 #3E32B6 #6155D0
Accessibility & contrast
On white
12.17
#2E2586 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2E2586 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2586
12.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2586 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2586 | 1.00 | 12.17 | 1.73 | 12.17 |
| #FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2e2586; /* rgb */ color: rgb(46, 37, 134); /* oklch */ color: oklch(34.6% 0.154 278.8);
Tailwind
colors: {
custom: {
50: '#7361aa',
500: '#2e2586',
950: '#000000',
},
}SCSS
$custom: #2e2586; $custom-light: #7361aa; $custom-dark: #000000;
JSON
{
"hex": "#2e2586",
"rgb": {
"r": 46,
"g": 37,
"b": 134
},
"hsl": {
"h": 245.567,
"s": 56.725,
"l": 33.529
},
"oklch": {
"l": 0.34575,
"c": 0.15415,
"h": 278.8
},
"luminance": 0.03625
}Semantic roles & 50–950 ramp
primary
#2E2586
secondary
#ABB452
accent
#E048D2
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F