#2E2D8E#2E2D8E
#2E2D8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.155 H 276.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2D8E |
|---|---|
| RGB | rgb(46, 45, 142) |
| HSL | hsl(241, 52%, 37%) |
| HSV | hsv(241, 68%, 56%) |
| CMYK | cmyk(67.6%, 68.3%, 0%, 44.3%) |
| CIE-LAB | lab(24.98, 32.39, -53.53) |
| CIE-LCH | lch(24.98, 62.57, 301.18°) |
| OKLab | oklab(36.68% 0.0162 -0.1545) |
| OKLCH | oklch(36.68% 0.155 276) |
| XYZ | xyz(6.9460, 4.4100, 26.0711) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.20
Royal
#0C1793
ΔE00 5.68
Darkslateblue
#483D8B
ΔE00 5.87
Blueberry
#464196
ΔE00 6.17
Midnight Blue
#191970
ΔE00 6.56
Indigo Blue
#3A18B1
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2D8E #8D8E2D
analogous
#2D5D8E #2E2D8E #5F2D8E
triadic
#2E2D8E #8E2E2D #2D8E2E
tetradic
#2E2D8E #8E2D5D #8D8E2D #2D8E5F
square
#2E2D8E #8E2D5D #8D8E2D #2D8E5F
split-complementary
#2E2D8E #8E5F2D #5D8E2D
monochromatic
#101031 #1F1E60 #2E2D8E #3D3CBC #6867CF
Accessibility & contrast
On white
11.16
#2E2D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2E2D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2D8E
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2D8E | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e2d8e; /* rgb */ color: rgb(46, 45, 142); /* oklch */ color: oklch(36.7% 0.155 276.0);
Tailwind
colors: {
custom: {
50: '#7466b0',
500: '#2e2d8e',
950: '#000000',
},
}SCSS
$custom: #2e2d8e; $custom-light: #7466b0; $custom-dark: #000000;
JSON
{
"hex": "#2e2d8e",
"rgb": {
"r": 46,
"g": 45,
"b": 142
},
"hsl": {
"h": 240.619,
"s": 51.872,
"l": 36.667
},
"oklch": {
"l": 0.36677,
"c": 0.15534,
"h": 276
},
"luminance": 0.04411
}Semantic roles & 50–950 ramp
primary
#2E2D8E
secondary
#B5B561
accent
#DB4CDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80