#2E2E8F#2E2E8F
#2E2E8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.155 H 275.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2E8F |
|---|---|
| RGB | rgb(46, 46, 143) |
| HSL | hsl(240, 51%, 37%) |
| HSV | hsv(240, 68%, 56%) |
| CMYK | cmyk(67.8%, 67.8%, 0%, 43.9%) |
| CIE-LAB | lab(25.31, 32.11, -53.61) |
| CIE-LCH | lch(25.31, 62.49, 300.92°) |
| OKLab | oklab(36.95% 0.0153 -0.1547) |
| OKLCH | oklch(36.95% 0.155 275.7) |
| XYZ | xyz(7.0600, 4.5174, 26.4812) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.93
Darkslateblue
#483D8B
ΔE00 5.73
Royal
#0C1793
ΔE00 5.89
Blueberry
#464196
ΔE00 5.94
Midnight Blue
#191970
ΔE00 6.83
Indigo Blue
#3A18B1
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2E8F #8F8F2E
analogous
#2E5F8F #2E2E8F #5F2E8F
triadic
#2E2E8F #8F2E2E #2E8F2E
tetradic
#2E2E8F #8F2E5F #8F8F2E #2E8F5F
square
#2E2E8F #8F2E5F #8F8F2E #2E8F5F
split-complementary
#2E2E8F #8F5F2E #5F8F2E
monochromatic
#101032 #1F1F61 #2E2E8F #3D3DBD #6969CF
Accessibility & contrast
On white
11.03
#2E2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2E2E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2E8F
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2E8F | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e2e8f; /* rgb */ color: rgb(46, 46, 143); /* oklch */ color: oklch(36.9% 0.155 275.7);
Tailwind
colors: {
custom: {
50: '#7467b1',
500: '#2e2e8f',
950: '#000000',
},
}SCSS
$custom: #2e2e8f; $custom-light: #7467b1; $custom-dark: #000000;
JSON
{
"hex": "#2e2e8f",
"rgb": {
"r": 46,
"g": 46,
"b": 143
},
"hsl": {
"h": 240,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.36945,
"c": 0.15548,
"h": 275.7
},
"luminance": 0.04518
}Semantic roles & 50–950 ramp
primary
#2E2E8F
secondary
#B6B663
accent
#DB4DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80