#2E2485#2E2485
#2E2485 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.154 H 279.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2485 |
|---|---|
| RGB | rgb(46, 36, 133) |
| HSL | hsl(246, 57%, 33%) |
| HSV | hsv(246, 73%, 52%) |
| CMYK | cmyk(65.4%, 72.9%, 0%, 47.8%) |
| CIE-LAB | lab(22.07, 34.87, -52.69) |
| CIE-LCH | lch(22.07, 63.18, 303.49°) |
| OKLab | oklab(34.32% 0.0245 -0.152) |
| OKLCH | oklch(34.32% 0.154 279.1) |
| XYZ | xyz(5.9899, 3.5356, 22.5525) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.34
Midnight Blue
#191970
ΔE00 4.41
Indigo (survey)
#380282
ΔE00 6.22
Cobalt Blue
#030AA7
ΔE00 6.80
Indigo Blue
#3A18B1
ΔE00 6.92
Darkblue
#00008B
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2485 #7B8524
analogous
#244A85 #2E2485 #5E2485
triadic
#2E2485 #852E24 #24852E
tetradic
#2E2485 #85244A #7B8524 #24855E
square
#2E2485 #85244A #7B8524 #24855E
split-complementary
#2E2485 #855E24 #4A8524
monochromatic
#0D0A25 #1D1755 #2E2485 #3F31B5 #6053D0
Accessibility & contrast
On white
12.30
#2E2485 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#2E2485 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2485
12.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2485 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2485 | 1.00 | 12.30 | 1.71 | 12.30 |
| #FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2e2485; /* rgb */ color: rgb(46, 36, 133); /* oklch */ color: oklch(34.3% 0.154 279.1);
Tailwind
colors: {
custom: {
50: '#7360a9',
500: '#2e2485',
950: '#000000',
},
}SCSS
$custom: #2e2485; $custom-light: #7360a9; $custom-dark: #000000;
JSON
{
"hex": "#2e2485",
"rgb": {
"r": 46,
"g": 36,
"b": 133
},
"hsl": {
"h": 246.186,
"s": 57.396,
"l": 33.137
},
"oklch": {
"l": 0.34318,
"c": 0.15399,
"h": 279.1
},
"luminance": 0.03536
}Semantic roles & 50–950 ramp
primary
#2E2485
secondary
#AAB450
accent
#E147D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F