#2E2686#2E2686
#2E2686 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.153 H 278.6°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2686 |
|---|---|
| RGB | rgb(46, 38, 134) |
| HSL | hsl(245, 56%, 34%) |
| HSV | hsv(245, 72%, 53%) |
| CMYK | cmyk(65.7%, 71.6%, 0%, 47.5%) |
| CIE-LAB | lab(22.61, 33.99, -52.43) |
| CIE-LCH | lch(22.61, 62.49, 302.96°) |
| OKLab | oklab(34.73% 0.0228 -0.1513) |
| OKLCH | oklch(34.73% 0.153 278.6) |
| XYZ | xyz(6.1215, 3.6878, 22.9389) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.61
Midnight Blue
#191970
ΔE00 4.73
Indigo (survey)
#380282
ΔE00 6.74
Indigo Blue
#3A18B1
ΔE00 7.00
Cobalt Blue
#030AA7
ΔE00 7.04
Darkslateblue
#483D8B
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2686 #7E8626
analogous
#264E86 #2E2686 #5E2686
triadic
#2E2686 #862E26 #26862E
tetradic
#2E2686 #86264E #7E8626 #26865E
square
#2E2686 #86264E #7E8626 #26865E
split-complementary
#2E2686 #865E26 #4E8626
monochromatic
#0D0B27 #1E1856 #2E2686 #3E34B6 #6157CF
Accessibility & contrast
On white
12.09
#2E2686 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2E2686 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2686
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2686 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2686 | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2e2686; /* rgb */ color: rgb(46, 38, 134); /* oklch */ color: oklch(34.7% 0.153 278.6);
Tailwind
colors: {
custom: {
50: '#7361aa',
500: '#2e2686',
950: '#000000',
},
}SCSS
$custom: #2e2686; $custom-light: #7361aa; $custom-dark: #000000;
JSON
{
"hex": "#2e2686",
"rgb": {
"r": 46,
"g": 38,
"b": 134
},
"hsl": {
"h": 245,
"s": 55.814,
"l": 33.725
},
"oklch": {
"l": 0.34734,
"c": 0.15298,
"h": 278.6
},
"luminance": 0.03688
}Semantic roles & 50–950 ramp
primary
#2E2686
secondary
#ACB454
accent
#DF49D3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F