#2E2B8A#2E2B8A
#2E2B8A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.152 H 276.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2B8A |
|---|---|
| RGB | rgb(46, 43, 138) |
| HSL | hsl(242, 52%, 35%) |
| HSV | hsv(242, 69%, 54%) |
| CMYK | cmyk(66.7%, 68.8%, 0%, 45.9%) |
| CIE-LAB | lab(24.14, 32.26, -52.43) |
| CIE-LCH | lch(24.14, 61.56, 301.60°) |
| OKLab | oklab(35.95% 0.0183 -0.1513) |
| OKLCH | oklch(35.95% 0.152 276.9) |
| XYZ | xyz(6.5765, 4.1430, 24.4929) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.40
Midnight Blue
#191970
ΔE00 5.85
Sapphire (survey)
#2138AB
ΔE00 5.97
Darkslateblue
#483D8B
ΔE00 6.12
Blueberry
#464196
ΔE00 6.67
Indigo Blue
#3A18B1
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2B8A #878A2B
analogous
#2B578A #2E2B8A #5D2B8A
triadic
#2E2B8A #8A2E2B #2B8A2E
tetradic
#2E2B8A #8A2B57 #878A2B #2B8A5D
square
#2E2B8A #8A2B57 #878A2B #2B8A5D
split-complementary
#2E2B8A #8A5D2B #578A2B
monochromatic
#0F0E2D #1E1C5B #2E2B8A #3E3AB9 #6561CE
Accessibility & contrast
On white
11.48
#2E2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2E2B8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2B8A
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2B8A | 1.00 | 11.48 | 1.83 | 11.48 |
| #FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2e2b8a; /* rgb */ color: rgb(46, 43, 138); /* oklch */ color: oklch(36.0% 0.152 276.9);
Tailwind
colors: {
custom: {
50: '#7365ad',
500: '#2e2b8a',
950: '#000000',
},
}SCSS
$custom: #2e2b8a; $custom-light: #7365ad; $custom-dark: #000000;
JSON
{
"hex": "#2e2b8a",
"rgb": {
"r": 46,
"g": 43,
"b": 138
},
"hsl": {
"h": 241.895,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.35951,
"c": 0.15237,
"h": 276.9
},
"luminance": 0.04144
}Semantic roles & 50–950 ramp
primary
#2E2B8A
secondary
#B1B45D
accent
#DC4CD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F