#2E2285#2E2285
#2E2285 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.156 H 279.6°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2285 |
|---|---|
| RGB | rgb(46, 34, 133) |
| HSL | hsl(247, 59%, 33%) |
| HSV | hsv(247, 74%, 52%) |
| CMYK | cmyk(65.4%, 74.4%, 0%, 47.8%) |
| CIE-LAB | lab(21.65, 36.06, -53.39) |
| CIE-LCH | lch(21.65, 64.43, 304.03°) |
| OKLab | oklab(34.01% 0.026 -0.1541) |
| OKLCH | oklch(34.01% 0.156 279.6) |
| XYZ | xyz(5.9310, 3.4179, 22.5329) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.03
Midnight Blue
#191970
ΔE00 4.24
Indigo (survey)
#380282
ΔE00 5.70
Cobalt Blue
#030AA7
ΔE00 6.47
Darkblue
#00008B
ΔE00 6.61
Indigo Blue
#3A18B1
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2285 #798522
analogous
#224785 #2E2285 #602285
triadic
#2E2285 #852E22 #22852E
tetradic
#2E2285 #852247 #798522 #228560
square
#2E2285 #852247 #798522 #228560
split-complementary
#2E2285 #856022 #478522
monochromatic
#0C0924 #1D1654 #2E2285 #3F2EB6 #5F4FD2
Accessibility & contrast
On white
12.47
#2E2285 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2E2285 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2285
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2285 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2285 | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e2285; /* rgb */ color: rgb(46, 34, 133); /* oklch */ color: oklch(34.0% 0.156 279.6);
Tailwind
colors: {
custom: {
50: '#735faa',
500: '#2e2285',
950: '#000000',
},
}SCSS
$custom: #2e2285; $custom-light: #735faa; $custom-dark: #000000;
JSON
{
"hex": "#2e2285",
"rgb": {
"r": 46,
"g": 34,
"b": 133
},
"hsl": {
"h": 247.273,
"s": 59.281,
"l": 32.745
},
"oklch": {
"l": 0.34014,
"c": 0.15624,
"h": 279.6
},
"luminance": 0.03418
}Semantic roles & 50–950 ramp
primary
#2E2285
secondary
#A9B64D
accent
#E245CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F