#2E2990#2E2990
#2E2990 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.163 H 276.7°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2990 |
|---|---|
| RGB | rgb(46, 41, 144) |
| HSL | hsl(243, 56%, 36%) |
| HSV | hsv(243, 72%, 56%) |
| CMYK | cmyk(68.1%, 71.5%, 0%, 43.5%) |
| CIE-LAB | lab(24.26, 35.58, -55.96) |
| CIE-LCH | lch(24.26, 66.32, 302.45°) |
| OKLab | oklab(36.21% 0.0189 -0.1616) |
| OKLCH | oklch(36.21% 0.163 276.7) |
| XYZ | xyz(6.9521, 4.1797, 26.8206) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.64
Sapphire (survey)
#2138AB
ΔE00 5.71
Indigo Blue
#3A18B1
ΔE00 6.04
Midnight Blue
#191970
ΔE00 6.15
Cobalt Blue
#030AA7
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2990 #8B9029
analogous
#295890 #2E2990 #622990
triadic
#2E2990 #902E29 #29902E
tetradic
#2E2990 #902958 #8B9029 #299062
square
#2E2990 #902958 #8B9029 #299062
split-complementary
#2E2990 #906229 #589029
monochromatic
#100E31 #1F1B60 #2E2990 #3D37C0 #6761D2
Accessibility & contrast
On white
11.44
#2E2990 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2E2990 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2990
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2990 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2990 | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2e2990; /* rgb */ color: rgb(46, 41, 144); /* oklch */ color: oklch(36.2% 0.163 276.7);
Tailwind
colors: {
custom: {
50: '#7564b2',
500: '#2e2990',
950: '#000000',
},
}SCSS
$custom: #2e2990; $custom-light: #7564b2; $custom-dark: #000000;
JSON
{
"hex": "#2e2990",
"rgb": {
"r": 46,
"g": 41,
"b": 144
},
"hsl": {
"h": 242.913,
"s": 55.676,
"l": 36.275
},
"oklch": {
"l": 0.36212,
"c": 0.16271,
"h": 276.7
},
"luminance": 0.0418
}Semantic roles & 50–950 ramp
primary
#2E2990
secondary
#B3B85D
accent
#DF49D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80