#2E2392#2E2392
#2E2392 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.172 H 277.5°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2392 |
|---|---|
| RGB | rgb(46, 35, 146) |
| HSL | hsl(246, 61%, 35%) |
| HSV | hsv(246, 76%, 57%) |
| CMYK | cmyk(68.5%, 76%, 0%, 42.7%) |
| CIE-LAB | lab(23.20, 39.78, -58.95) |
| CIE-LCH | lch(23.20, 71.12, 304.01°) |
| OKLab | oklab(35.52% 0.0224 -0.1703) |
| OKLCH | oklch(35.52% 0.172 277.5) |
| XYZ | xyz(6.9144, 3.8576, 27.5688) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.44
Indigo Blue
#3A18B1
ΔE00 4.97
Cobalt Blue
#030AA7
ΔE00 5.26
Royal Blue (survey)
#0504AA
ΔE00 5.77
Midnight Blue
#191970
ΔE00 5.88
Ultramarine
#2000B1
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2392 #879223
analogous
#234F92 #2E2392 #652392
triadic
#2E2392 #922E23 #23922E
tetradic
#2E2392 #92234F #879223 #239265
square
#2E2392 #92234F #879223 #239265
split-complementary
#2E2392 #926523 #4F9223
monochromatic
#0F0B2F #1E1761 #2E2392 #3E2FC3 #6558D7
Accessibility & contrast
On white
11.85
#2E2392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2E2392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2392
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2392 | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2e2392; /* rgb */ color: rgb(46, 35, 146); /* oklch */ color: oklch(35.5% 0.172 277.5);
Tailwind
colors: {
custom: {
50: '#7660b3',
500: '#2e2392',
950: '#000000',
},
}SCSS
$custom: #2e2392; $custom-light: #7660b3; $custom-dark: #000000;
JSON
{
"hex": "#2e2392",
"rgb": {
"r": 46,
"g": 35,
"b": 146
},
"hsl": {
"h": 245.946,
"s": 61.326,
"l": 35.49
},
"oklch": {
"l": 0.35517,
"c": 0.17177,
"h": 277.5
},
"luminance": 0.03858
}Semantic roles & 50–950 ramp
primary
#2E2392
secondary
#B1BB55
accent
#E443D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980