#2E2086#2E2086
#2E2086 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.160 H 279.8°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2086 |
|---|---|
| RGB | rgb(46, 32, 134) |
| HSL | hsl(248, 61%, 33%) |
| HSV | hsv(248, 76%, 53%) |
| CMYK | cmyk(65.7%, 76.1%, 0%, 47.5%) |
| CIE-LAB | lab(21.34, 37.54, -54.53) |
| CIE-LCH | lch(21.34, 66.20, 304.54°) |
| OKLab | oklab(33.83% 0.0271 -0.1574) |
| OKLCH | oklch(33.83% 0.16 279.8) |
| XYZ | xyz(5.9449, 3.3346, 22.8800) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.68
Midnight Blue
#191970
ΔE00 4.26
Indigo (survey)
#380282
ΔE00 5.20
Cobalt Blue
#030AA7
ΔE00 6.05
Darkblue
#00008B
ΔE00 6.13
Indigo Blue
#3A18B1
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2086 #788620
analogous
#204586 #2E2086 #612086
triadic
#2E2086 #862E20 #20862E
tetradic
#2E2086 #862045 #788620 #208661
square
#2E2086 #862045 #788620 #208661
split-complementary
#2E2086 #866120 #458620
monochromatic
#0C0823 #1D1455 #2E2086 #3F2CB7 #5F4CD4
Accessibility & contrast
On white
12.60
#2E2086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2E2086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2086
12.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2086 | 1.00 | 12.60 | 1.67 | 12.60 |
| #FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2e2086; /* rgb */ color: rgb(46, 32, 134); /* oklch */ color: oklch(33.8% 0.160 279.8);
Tailwind
colors: {
custom: {
50: '#735eaa',
500: '#2e2086',
950: '#000000',
},
}SCSS
$custom: #2e2086; $custom-light: #735eaa; $custom-dark: #000000;
JSON
{
"hex": "#2e2086",
"rgb": {
"r": 46,
"g": 32,
"b": 134
},
"hsl": {
"h": 248.235,
"s": 61.446,
"l": 32.549
},
"oklch": {
"l": 0.33827,
"c": 0.1597,
"h": 279.8
},
"luminance": 0.03335
}Semantic roles & 50–950 ramp
primary
#2E2086
secondary
#A8B74B
accent
#E543CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F