#2E2D7C#2E2D7C
#2E2D7C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.130 H 277.8°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2D7C |
|---|---|
| RGB | rgb(46, 45, 124) |
| HSL | hsl(241, 47%, 33%) |
| HSV | hsv(241, 64%, 49%) |
| CMYK | cmyk(62.9%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(23.38, 25.99, -44.88) |
| CIE-LCH | lch(23.38, 51.86, 300.08°) |
| OKLab | oklab(35.01% 0.0178 -0.1291) |
| OKLCH | oklch(35.01% 0.13 277.8) |
| XYZ | xyz(5.7020, 3.9124, 19.5196) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.62
Darkslateblue
#483D8B
ΔE00 5.77
Blueberry
#464196
ΔE00 6.86
Royal
#0C1793
ΔE00 7.27
Sapphire (survey)
#2138AB
ΔE00 7.59
Marine
#042E60
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2D7C #7B7C2D
analogous
#2D537C #2E2D7C #552D7C
triadic
#2E2D7C #7C2E2D #2D7C2E
tetradic
#2E2D7C #7C2D53 #7B7C2D #2D7C55
square
#2E2D7C #7C2D53 #7B7C2D #2D7C55
split-complementary
#2E2D7C #7C552D #537C2D
monochromatic
#0D0C22 #1D1D4F #2E2D7C #3F3DA9 #605FC5
Accessibility & contrast
On white
11.78
#2E2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2E2D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2D7C
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2D7C | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2e2d7c; /* rgb */ color: rgb(46, 45, 124); /* oklch */ color: oklch(35.0% 0.130 277.8);
Tailwind
colors: {
custom: {
50: '#7066a3',
500: '#2e2d7c',
950: '#000000',
},
}SCSS
$custom: #2e2d7c; $custom-light: #7066a3; $custom-dark: #000000;
JSON
{
"hex": "#2e2d7c",
"rgb": {
"r": 46,
"g": 45,
"b": 124
},
"hsl": {
"h": 240.759,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.35011,
"c": 0.13031,
"h": 277.8
},
"luminance": 0.03913
}Semantic roles & 50–950 ramp
primary
#2E2D7C
secondary
#AAAB5A
accent
#D651D5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F