#2E2385#2E2385
#2E2385 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.155 H 279.4°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2385 |
|---|---|
| RGB | rgb(46, 35, 133) |
| HSL | hsl(247, 58%, 33%) |
| HSV | hsv(247, 74%, 52%) |
| CMYK | cmyk(65.4%, 73.7%, 0%, 47.8%) |
| CIE-LAB | lab(21.86, 35.47, -53.05) |
| CIE-LCH | lch(21.86, 63.81, 303.77°) |
| OKLab | oklab(34.17% 0.0252 -0.1531) |
| OKLCH | oklch(34.17% 0.155 279.4) |
| XYZ | xyz(5.9600, 3.4759, 22.5426) |
| Luminance | 0.0348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.18
Midnight Blue
#191970
ΔE00 4.32
Indigo (survey)
#380282
ΔE00 5.96
Cobalt Blue
#030AA7
ΔE00 6.63
Indigo Blue
#3A18B1
ΔE00 6.82
Darkblue
#00008B
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2385 #7A8523
analogous
#234985 #2E2385 #5F2385
triadic
#2E2385 #852E23 #23852E
tetradic
#2E2385 #852349 #7A8523 #23855F
square
#2E2385 #852349 #7A8523 #23855F
split-complementary
#2E2385 #855F23 #498523
monochromatic
#0C0924 #1D1655 #2E2385 #3F30B5 #6051D1
Accessibility & contrast
On white
12.39
#2E2385 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2E2385 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2385
12.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2385 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2385 | 1.00 | 12.39 | 1.70 | 12.39 |
| #FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e2385; /* rgb */ color: rgb(46, 35, 133); /* oklch */ color: oklch(34.2% 0.155 279.4);
Tailwind
colors: {
custom: {
50: '#735fa9',
500: '#2e2385',
950: '#000000',
},
}SCSS
$custom: #2e2385; $custom-light: #735fa9; $custom-dark: #000000;
JSON
{
"hex": "#2e2385",
"rgb": {
"r": 46,
"g": 35,
"b": 133
},
"hsl": {
"h": 246.735,
"s": 58.333,
"l": 32.941
},
"oklch": {
"l": 0.34165,
"c": 0.15512,
"h": 279.4
},
"luminance": 0.03476
}Semantic roles & 50–950 ramp
primary
#2E2385
secondary
#AAB54F
accent
#E246D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F