#2E2973#2E2973
#2E2973 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.123 H 280.5°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2973 |
|---|---|
| RGB | rgb(46, 41, 115) |
| HSL | hsl(244, 47%, 31%) |
| HSV | hsv(244, 64%, 45%) |
| CMYK | cmyk(60%, 64.3%, 0%, 54.9%) |
| CIE-LAB | lab(21.59, 25.46, -42.04) |
| CIE-LCH | lch(21.59, 49.15, 301.20°) |
| OKLab | oklab(33.46% 0.0223 -0.1208) |
| OKLCH | oklch(33.46% 0.123 280.5) |
| XYZ | xyz(5.0132, 3.4042, 16.6092) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.75
Darkslateblue
#483D8B
ΔE00 6.84
Royal
#0C1793
ΔE00 7.64
Blueberry
#464196
ΔE00 8.30
Marine
#042E60
ΔE00 8.49
Dark Indigo
#1F0954
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2973 #6E7329
analogous
#294973 #2E2973 #532973
triadic
#2E2973 #732E29 #29732E
tetradic
#2E2973 #732949 #6E7329 #297353
square
#2E2973 #732949 #6E7329 #297353
split-complementary
#2E2973 #735329 #497329
monochromatic
#0A0919 #1C1946 #2E2973 #4039A0 #5C54C2
Accessibility & contrast
On white
12.49
#2E2973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2E2973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2973
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2973 | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#063B4A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2e2973; /* rgb */ color: rgb(46, 41, 115); /* oklch */ color: oklch(33.5% 0.123 280.5);
Tailwind
colors: {
custom: {
50: '#6e639c',
500: '#2e2973',
950: '#000000',
},
}SCSS
$custom: #2e2973; $custom-light: #6e639c; $custom-dark: #000000;
JSON
{
"hex": "#2e2973",
"rgb": {
"r": 46,
"g": 41,
"b": 115
},
"hsl": {
"h": 244.054,
"s": 47.436,
"l": 30.588
},
"oklch": {
"l": 0.33462,
"c": 0.12284,
"h": 280.5
},
"luminance": 0.03405
}Semantic roles & 50–950 ramp
primary
#2E2973
secondary
#9FA553
accent
#D751CE
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E