#2E2282#2E2282
#2E2282 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.152 H 280.0°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2282 |
|---|---|
| RGB | rgb(46, 34, 130) |
| HSL | hsl(248, 59%, 32%) |
| HSV | hsv(248, 74%, 51%) |
| CMYK | cmyk(64.6%, 73.8%, 0%, 49%) |
| CIE-LAB | lab(21.34, 35.06, -52.00) |
| CIE-LCH | lch(21.34, 62.71, 303.98°) |
| OKLab | oklab(33.71% 0.0266 -0.15) |
| OKLCH | oklch(33.71% 0.152 280) |
| XYZ | xyz(5.7267, 3.3362, 21.4569) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.93
Royal
#0C1793
ΔE00 4.34
Indigo (survey)
#380282
ΔE00 5.76
Darkblue
#00008B
ΔE00 6.76
Cobalt Blue
#030AA7
ΔE00 6.86
Dark Royal Blue
#02066F
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2282 #768222
analogous
#224682 #2E2282 #5E2282
triadic
#2E2282 #822E22 #22822E
tetradic
#2E2282 #822246 #768222 #22825E
square
#2E2282 #822246 #768222 #22825E
split-complementary
#2E2282 #825E22 #468222
monochromatic
#0C0921 #1D1551 #2E2282 #3F2FB3 #5E4ED1
Accessibility & contrast
On white
12.59
#2E2282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2E2282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2282
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2282 | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2e2282; /* rgb */ color: rgb(46, 34, 130); /* oklch */ color: oklch(33.7% 0.152 280.0);
Tailwind
colors: {
custom: {
50: '#725fa7',
500: '#2e2282',
950: '#000000',
},
}SCSS
$custom: #2e2282; $custom-light: #725fa7; $custom-dark: #000000;
JSON
{
"hex": "#2e2282",
"rgb": {
"r": 46,
"g": 34,
"b": 130
},
"hsl": {
"h": 247.5,
"s": 58.537,
"l": 32.157
},
"oklch": {
"l": 0.33707,
"c": 0.15234,
"h": 280
},
"luminance": 0.03337
}Semantic roles & 50–950 ramp
primary
#2E2282
secondary
#A7B44C
accent
#E246CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F