#2E2E8D#2E2E8D
#2E2E8D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.153 H 275.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E8D |
|---|---|
| RGB | rgb(46, 46, 141) |
| HSL | hsl(240, 51%, 37%) |
| HSV | hsv(240, 67%, 55%) |
| CMYK | cmyk(67.4%, 67.4%, 0%, 44.7%) |
| CIE-LAB | lab(25.13, 31.40, -52.67) |
| CIE-LCH | lch(25.13, 61.32, 300.80°) |
| OKLab | oklab(36.75% 0.0155 -0.152) |
| OKLCH | oklch(36.75% 0.153 275.8) |
| XYZ | xyz(6.9099, 4.4573, 25.6903) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.16
Darkslateblue
#483D8B
ΔE00 5.65
Blueberry
#464196
ΔE00 5.96
Royal
#0C1793
ΔE00 5.99
Midnight Blue
#191970
ΔE00 6.66
Indigo Blue
#3A18B1
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E8D #8D8D2E
analogous
#2E5E8D #2E2E8D #5E2E8D
triadic
#2E2E8D #8D2E2E #2E8D2E
tetradic
#2E2E8D #8D2E5E #8D8D2E #2E8D5E
square
#2E2E8D #8D2E5E #8D8D2E #2E8D5E
split-complementary
#2E2E8D #8D5E2E #5E8D2E
monochromatic
#101031 #1F1F5F #2E2E8D #3D3DBB #6868CE
Accessibility & contrast
On white
11.10
#2E2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2E2E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E8D
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E8D | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e2e8d; /* rgb */ color: rgb(46, 46, 141); /* oklch */ color: oklch(36.8% 0.153 275.8);
Tailwind
colors: {
custom: {
50: '#7367af',
500: '#2e2e8d',
950: '#000000',
},
}SCSS
$custom: #2e2e8d; $custom-light: #7367af; $custom-dark: #000000;
JSON
{
"hex": "#2e2e8d",
"rgb": {
"r": 46,
"g": 46,
"b": 141
},
"hsl": {
"h": 240,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.36755,
"c": 0.15276,
"h": 275.8
},
"luminance": 0.04458
}Semantic roles & 50–950 ramp
primary
#2E2E8D
secondary
#B5B562
accent
#DA4EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F