#2E2180#2E2180
#2E2180 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.151 H 280.6°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2180 |
|---|---|
| RGB | rgb(46, 33, 128) |
| HSL | hsl(248, 59%, 32%) |
| HSV | hsv(248, 74%, 50%) |
| CMYK | cmyk(64.1%, 74.2%, 0%, 49.8%) |
| CIE-LAB | lab(20.93, 34.98, -51.42) |
| CIE-LCH | lch(20.93, 62.19, 304.23°) |
| OKLab | oklab(33.35% 0.0278 -0.1483) |
| OKLCH | oklch(33.35% 0.151 280.6) |
| XYZ | xyz(5.5656, 3.2267, 20.7474) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.67
Royal
#0C1793
ΔE00 4.45
Indigo (survey)
#380282
ΔE00 5.56
Darkblue
#00008B
ΔE00 6.66
Dark Royal Blue
#02066F
ΔE00 6.70
Navy
#000080
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2180 #738021
analogous
#214480 #2E2180 #5E2180
triadic
#2E2180 #802E21 #21802E
tetradic
#2E2180 #802144 #738021 #21805E
square
#2E2180 #802144 #738021 #21805E
split-complementary
#2E2180 #805E21 #448021
monochromatic
#0B081F #1D144F #2E2180 #3F2EB1 #5D4BD1
Accessibility & contrast
On white
12.76
#2E2180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#2E2180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2180
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2180 | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2e2180; /* rgb */ color: rgb(46, 33, 128); /* oklch */ color: oklch(33.4% 0.151 280.6);
Tailwind
colors: {
custom: {
50: '#725ea6',
500: '#2e2180',
950: '#000000',
},
}SCSS
$custom: #2e2180; $custom-light: #725ea6; $custom-dark: #000000;
JSON
{
"hex": "#2e2180",
"rgb": {
"r": 46,
"g": 33,
"b": 128
},
"hsl": {
"h": 248.211,
"s": 59.006,
"l": 31.569
},
"oklch": {
"l": 0.33352,
"c": 0.15087,
"h": 280.6
},
"luminance": 0.03227
}Semantic roles & 50–950 ramp
primary
#2E2180
secondary
#A4B34A
accent
#E246CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F