#2E2D76#2E2D76
#2E2D76 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.122 H 278.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2D76 |
|---|---|
| RGB | rgb(46, 45, 118) |
| HSL | hsl(241, 45%, 32%) |
| HSV | hsv(241, 62%, 46%) |
| CMYK | cmyk(61%, 61.9%, 0%, 53.7%) |
| CIE-LAB | lab(22.88, 23.85, -41.88) |
| CIE-LCH | lch(22.88, 48.19, 299.66°) |
| OKLab | oklab(34.49% 0.018 -0.1203) |
| OKLCH | oklch(34.49% 0.122 278.5) |
| XYZ | xyz(5.3341, 3.7652, 17.5817) |
| Luminance | 0.0377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.73
Darkslateblue
#483D8B
ΔE00 6.06
Blueberry
#464196
ΔE00 7.36
Marine
#042E60
ΔE00 7.83
Royal
#0C1793
ΔE00 8.09
Sapphire (survey)
#2138AB
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2D76 #75762D
analogous
#2D5176 #2E2D76 #532D76
triadic
#2E2D76 #762E2D #2D762E
tetradic
#2E2D76 #762D51 #75762D #2D7653
square
#2E2D76 #762D51 #75762D #2D7653
split-complementary
#2E2D76 #76532D #51762D
monochromatic
#0B0B1D #1D1C4A #2E2D76 #3F3EA2 #5E5CC1
Accessibility & contrast
On white
11.98
#2E2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2E2D76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2D76
11.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2D76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2D76 | 1.00 | 11.98 | 1.75 | 11.98 |
| #FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2e2d76; /* rgb */ color: rgb(46, 45, 118); /* oklch */ color: oklch(34.5% 0.122 278.5);
Tailwind
colors: {
custom: {
50: '#6f669e',
500: '#2e2d76',
950: '#000000',
},
}SCSS
$custom: #2e2d76; $custom-light: #6f669e; $custom-dark: #000000;
JSON
{
"hex": "#2e2d76",
"rgb": {
"r": 46,
"g": 45,
"b": 118
},
"hsl": {
"h": 240.822,
"s": 44.785,
"l": 31.961
},
"oklch": {
"l": 0.34485,
"c": 0.12161,
"h": 278.5
},
"luminance": 0.03766
}Semantic roles & 50–950 ramp
primary
#2E2D76
secondary
#A6A757
accent
#D453D3
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E