#2E2E76#2E2E76
#2E2E76 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.120 H 278.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E76 |
|---|---|
| RGB | rgb(46, 46, 118) |
| HSL | hsl(240, 44%, 32%) |
| HSV | hsv(240, 61%, 46%) |
| CMYK | cmyk(61%, 61%, 0%, 53.7%) |
| CIE-LAB | lab(23.14, 23.17, -41.45) |
| CIE-LCH | lch(23.14, 47.48, 299.20°) |
| OKLab | oklab(34.68% 0.017 -0.119) |
| OKLCH | oklch(34.68% 0.12 278.1) |
| XYZ | xyz(5.3727, 3.8425, 17.5946) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.94
Midnight Blue
#191970
ΔE00 6.02
Blueberry
#464196
ΔE00 7.21
Marine
#042E60
ΔE00 7.64
Royal
#0C1793
ΔE00 8.33
Sapphire (survey)
#2138AB
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E76 #76762E
analogous
#2E5276 #2E2E76 #522E76
triadic
#2E2E76 #762E2E #2E762E
tetradic
#2E2E76 #762E52 #76762E #2E7652
square
#2E2E76 #762E52 #76762E #2E7652
split-complementary
#2E2E76 #76522E #52762E
monochromatic
#0C0C1E #1D1D4A #2E2E76 #3F3FA2 #5E5EC0
Accessibility & contrast
On white
11.87
#2E2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2E2E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E76
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E76 | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 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: #2e2e76; /* rgb */ color: rgb(46, 46, 118); /* oklch */ color: oklch(34.7% 0.120 278.1);
Tailwind
colors: {
custom: {
50: '#6f669e',
500: '#2e2e76',
950: '#000000',
},
}SCSS
$custom: #2e2e76; $custom-light: #6f669e; $custom-dark: #000000;
JSON
{
"hex": "#2e2e76",
"rgb": {
"r": 46,
"g": 46,
"b": 118
},
"hsl": {
"h": 240,
"s": 43.902,
"l": 32.157
},
"oklch": {
"l": 0.3468,
"c": 0.12021,
"h": 278.1
},
"luminance": 0.03843
}Semantic roles & 50–950 ramp
primary
#2E2E76
secondary
#A7A759
accent
#D454D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E