#2E2D80#2E2D80
#2E2D80 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.136 H 277.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2D80 |
|---|---|
| RGB | rgb(46, 45, 128) |
| HSL | hsl(241, 48%, 34%) |
| HSV | hsv(241, 65%, 50%) |
| CMYK | cmyk(64.1%, 64.8%, 0%, 49.8%) |
| CIE-LAB | lab(23.72, 27.42, -46.84) |
| CIE-LCH | lch(23.72, 54.28, 300.35°) |
| OKLab | oklab(35.37% 0.0175 -0.1349) |
| OKLCH | oklch(35.37% 0.136 277.4) |
| XYZ | xyz(5.9601, 4.0157, 20.8789) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.68
Midnight Blue
#191970
ΔE00 5.68
Blueberry
#464196
ΔE00 6.60
Royal
#0C1793
ΔE00 6.80
Sapphire (survey)
#2138AB
ΔE00 7.00
Marine
#042E60
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2D80 #7F802D
analogous
#2D5680 #2E2D80 #582D80
triadic
#2E2D80 #802E2D #2D802E
tetradic
#2E2D80 #802D56 #7F802D #2D8058
square
#2E2D80 #802D56 #7F802D #2D8058
split-complementary
#2E2D80 #80582D #56802D
monochromatic
#0D0D25 #1E1D53 #2E2D80 #3E3DAD #6160C7
Accessibility & contrast
On white
11.65
#2E2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#2E2D80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2D80
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2D80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2D80 | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e2d80; /* rgb */ color: rgb(46, 45, 128); /* oklch */ color: oklch(35.4% 0.136 277.4);
Tailwind
colors: {
custom: {
50: '#7166a6',
500: '#2e2d80',
950: '#000000',
},
}SCSS
$custom: #2e2d80; $custom-light: #7166a6; $custom-dark: #000000;
JSON
{
"hex": "#2e2d80",
"rgb": {
"r": 46,
"g": 45,
"b": 128
},
"hsl": {
"h": 240.723,
"s": 47.977,
"l": 33.922
},
"oklch": {
"l": 0.3537,
"c": 0.136,
"h": 277.4
},
"luminance": 0.04016
}Semantic roles & 50–950 ramp
primary
#2E2D80
secondary
#ADAE5B
accent
#D850D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F