#2E2283#2E2283
#2E2283 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.154 H 279.9°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2283 |
|---|---|
| RGB | rgb(46, 34, 131) |
| HSL | hsl(247, 59%, 32%) |
| HSV | hsv(247, 74%, 51%) |
| CMYK | cmyk(64.9%, 74%, 0%, 48.6%) |
| CIE-LAB | lab(21.44, 35.39, -52.47) |
| CIE-LCH | lch(21.44, 63.29, 304.00°) |
| OKLab | oklab(33.81% 0.0264 -0.1514) |
| OKLCH | oklch(33.81% 0.154 279.9) |
| XYZ | xyz(5.7942, 3.3631, 21.8121) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.03
Royal
#0C1793
ΔE00 4.23
Indigo (survey)
#380282
ΔE00 5.73
Darkblue
#00008B
ΔE00 6.70
Cobalt Blue
#030AA7
ΔE00 6.73
Navy
#000080
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2283 #778322
analogous
#224683 #2E2283 #5F2283
triadic
#2E2283 #832E22 #22832E
tetradic
#2E2283 #832246 #778322 #22835F
square
#2E2283 #832246 #778322 #22835F
split-complementary
#2E2283 #835F22 #468322
monochromatic
#0C0922 #1D1552 #2E2283 #3F2FB4 #5E4ED1
Accessibility & contrast
On white
12.55
#2E2283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2E2283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2283
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2283 | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2e2283; /* rgb */ color: rgb(46, 34, 131); /* oklch */ color: oklch(33.8% 0.154 279.9);
Tailwind
colors: {
custom: {
50: '#725fa8',
500: '#2e2283',
950: '#000000',
},
}SCSS
$custom: #2e2283; $custom-light: #725fa8; $custom-dark: #000000;
JSON
{
"hex": "#2e2283",
"rgb": {
"r": 46,
"g": 34,
"b": 131
},
"hsl": {
"h": 247.423,
"s": 58.788,
"l": 32.353
},
"oklch": {
"l": 0.33809,
"c": 0.15364,
"h": 279.9
},
"luminance": 0.03364
}Semantic roles & 50–950 ramp
primary
#2E2283
secondary
#A8B44C
accent
#E246CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F