#2E2D8F#2E2D8F
#2E2D8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.157 H 275.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2D8F |
|---|---|
| RGB | rgb(46, 45, 143) |
| HSL | hsl(241, 52%, 37%) |
| HSV | hsv(241, 69%, 56%) |
| CMYK | cmyk(67.8%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(25.08, 32.74, -54.00) |
| CIE-LCH | lch(25.08, 63.15, 301.23°) |
| OKLab | oklab(36.77% 0.0161 -0.1559) |
| OKLCH | oklch(36.77% 0.157 275.9) |
| XYZ | xyz(7.0214, 4.4402, 26.4683) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.09
Royal
#0C1793
ΔE00 5.63
Darkslateblue
#483D8B
ΔE00 5.91
Blueberry
#464196
ΔE00 6.16
Midnight Blue
#191970
ΔE00 6.65
Indigo Blue
#3A18B1
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2D8F #8E8F2D
analogous
#2D5D8F #2E2D8F #5F2D8F
triadic
#2E2D8F #8F2E2D #2D8F2E
tetradic
#2E2D8F #8F2D5D #8E8F2D #2D8F5F
square
#2E2D8F #8F2D5D #8E8F2D #2D8F5F
split-complementary
#2E2D8F #8F5F2D #5D8F2D
monochromatic
#101032 #1F1E60 #2E2D8F #3D3CBE #6867CF
Accessibility & contrast
On white
11.12
#2E2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2E2D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2D8F
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2D8F | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e2d8f; /* rgb */ color: rgb(46, 45, 143); /* oklch */ color: oklch(36.8% 0.157 275.9);
Tailwind
colors: {
custom: {
50: '#7466b1',
500: '#2e2d8f',
950: '#000000',
},
}SCSS
$custom: #2e2d8f; $custom-light: #7466b1; $custom-dark: #000000;
JSON
{
"hex": "#2e2d8f",
"rgb": {
"r": 46,
"g": 45,
"b": 143
},
"hsl": {
"h": 240.612,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.36773,
"c": 0.15669,
"h": 275.9
},
"luminance": 0.04441
}Semantic roles & 50–950 ramp
primary
#2E2D8F
secondary
#B5B662
accent
#DC4CDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80