#2E2B9B#2E2B9B
#2E2B9B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.175 H 275.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2B9B |
|---|---|
| RGB | rgb(46, 43, 155) |
| HSL | hsl(242, 57%, 39%) |
| HSV | hsv(242, 72%, 61%) |
| CMYK | cmyk(70.3%, 72.3%, 0%, 39.2%) |
| CIE-LAB | lab(25.79, 38.14, -60.22) |
| CIE-LCH | lch(25.79, 71.28, 302.35°) |
| OKLab | oklab(37.64% 0.0157 -0.174) |
| OKLCH | oklch(37.64% 0.175 275.2) |
| XYZ | xyz(7.9050, 4.6744, 31.4896) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.46
Royal
#0C1793
ΔE00 5.05
Indigo Blue
#3A18B1
ΔE00 5.12
Cobalt Blue
#030AA7
ΔE00 6.38
Blueberry
#464196
ΔE00 6.76
Royal Blue (survey)
#0504AA
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2B9B #989B2B
analogous
#2B609B #2E2B9B #662B9B
triadic
#2E2B9B #9B2E2B #2B9B2E
tetradic
#2E2B9B #9B2B60 #989B2B #2B9B66
square
#2E2B9B #9B2B60 #989B2B #2B9B66
split-complementary
#2E2B9B #9B662B #609B2B
monochromatic
#12103B #201E6B #2E2B9B #3E3BC9 #6D6BD6
Accessibility & contrast
On white
10.85
#2E2B9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2E2B9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2B9B
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2B9B | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e2b9b; /* rgb */ color: rgb(46, 43, 155); /* oklch */ color: oklch(37.6% 0.175 275.2);
Tailwind
colors: {
custom: {
50: '#7765ba',
500: '#2e2b9b',
950: '#000000',
},
}SCSS
$custom: #2e2b9b; $custom-light: #7765ba; $custom-dark: #000000;
JSON
{
"hex": "#2e2b9b",
"rgb": {
"r": 46,
"g": 43,
"b": 155
},
"hsl": {
"h": 241.607,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.37638,
"c": 0.17475,
"h": 275.2
},
"luminance": 0.04675
}Semantic roles & 50–950 ramp
primary
#2E2B9B
secondary
#BABC65
accent
#E048DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81