#2E2383#2E2383
#2E2383 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.153 H 279.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2383 |
|---|---|
| RGB | rgb(46, 35, 131) |
| HSL | hsl(247, 58%, 33%) |
| HSV | hsv(247, 73%, 51%) |
| CMYK | cmyk(64.9%, 73.3%, 0%, 48.6%) |
| CIE-LAB | lab(21.66, 34.79, -52.12) |
| CIE-LCH | lch(21.66, 62.66, 303.73°) |
| OKLab | oklab(33.96% 0.0256 -0.1503) |
| OKLCH | oklch(33.96% 0.153 279.7) |
| XYZ | xyz(5.8232, 3.4212, 21.8218) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.11
Royal
#0C1793
ΔE00 4.38
Indigo (survey)
#380282
ΔE00 5.99
Cobalt Blue
#030AA7
ΔE00 6.89
Darkblue
#00008B
ΔE00 6.93
Indigo Blue
#3A18B1
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2383 #788323
analogous
#234883 #2E2383 #5E2383
triadic
#2E2383 #832E23 #23832E
tetradic
#2E2383 #832348 #788323 #23835E
square
#2E2383 #832348 #788323 #23835E
split-complementary
#2E2383 #835E23 #488323
monochromatic
#0C0922 #1D1653 #2E2383 #3F30B3 #5F50D0
Accessibility & contrast
On white
12.47
#2E2383 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2E2383 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2383
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2383 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2383 | 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)
#003786
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e2383; /* rgb */ color: rgb(46, 35, 131); /* oklch */ color: oklch(34.0% 0.153 279.7);
Tailwind
colors: {
custom: {
50: '#725fa8',
500: '#2e2383',
950: '#000000',
},
}SCSS
$custom: #2e2383; $custom-light: #725fa8; $custom-dark: #000000;
JSON
{
"hex": "#2e2383",
"rgb": {
"r": 46,
"g": 35,
"b": 131
},
"hsl": {
"h": 246.875,
"s": 57.831,
"l": 32.549
},
"oklch": {
"l": 0.33962,
"c": 0.15251,
"h": 279.7
},
"luminance": 0.03422
}Semantic roles & 50–950 ramp
primary
#2E2383
secondary
#A8B44E
accent
#E147CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F