#2E2D6F#2E2D6F
#2E2D6F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.111 H 279.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2D6F |
|---|---|
| RGB | rgb(46, 45, 111) |
| HSL | hsl(241, 42%, 31%) |
| HSV | hsv(241, 59%, 44%) |
| CMYK | cmyk(58.6%, 59.5%, 0%, 56.5%) |
| CIE-LAB | lab(22.32, 21.34, -38.30) |
| CIE-LCH | lch(22.32, 43.84, 299.13°) |
| OKLab | oklab(33.89% 0.0181 -0.1097) |
| OKLCH | oklch(33.89% 0.111 279.3) |
| XYZ | xyz(4.9334, 3.6050, 15.4717) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 6.62
Marine
#042E60
ΔE00 7.44
Blueberry
#464196
ΔE00 8.10
Navy Blue
#1B2A4A
ΔE00 8.23
Royal
#0C1793
ΔE00 9.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2D6F #6E6F2D
analogous
#2D4D6F #2E2D6F #4F2D6F
triadic
#2E2D6F #6F2E2D #2D6F2E
tetradic
#2E2D6F #6F2D4D #6E6F2D #2D6F4F
square
#2E2D6F #6F2D4D #6E6F2D #2D6F4F
split-complementary
#2E2D6F #6F4F2D #4D6F2D
monochromatic
#0A0A18 #1C1B43 #2E2D6F #403F9B #5C5ABC
Accessibility & contrast
On white
12.20
#2E2D6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2E2D6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2D6F
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2D6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2D6F | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#0D3C49
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2e2d6f; /* rgb */ color: rgb(46, 45, 111); /* oklch */ color: oklch(33.9% 0.111 279.3);
Tailwind
colors: {
custom: {
50: '#6d6699',
500: '#2e2d6f',
950: '#000000',
},
}SCSS
$custom: #2e2d6f; $custom-light: #6d6699; $custom-dark: #000000;
JSON
{
"hex": "#2e2d6f",
"rgb": {
"r": 46,
"g": 45,
"b": 111
},
"hsl": {
"h": 240.909,
"s": 42.308,
"l": 30.588
},
"oklch": {
"l": 0.33894,
"c": 0.11122,
"h": 279.3
},
"luminance": 0.03605
}Semantic roles & 50–950 ramp
primary
#2E2D6F
secondary
#9FA157
accent
#D256D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E