#2E2B8C#2E2B8C
#2E2B8C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.155 H 276.7°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2B8C |
|---|---|
| RGB | rgb(46, 43, 140) |
| HSL | hsl(242, 53%, 36%) |
| HSV | hsv(242, 69%, 55%) |
| CMYK | cmyk(67.1%, 69.3%, 0%, 45.1%) |
| CIE-LAB | lab(24.33, 32.96, -53.37) |
| CIE-LCH | lch(24.33, 62.72, 301.70°) |
| OKLab | oklab(36.14% 0.018 -0.154) |
| OKLCH | oklch(36.14% 0.155 276.7) |
| XYZ | xyz(6.7227, 4.2015, 25.2625) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.28
Sapphire (survey)
#2138AB
ΔE00 5.75
Midnight Blue
#191970
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.17
Blueberry
#464196
ΔE00 6.64
Indigo Blue
#3A18B1
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2B8C #898C2B
analogous
#2B588C #2E2B8C #5E2B8C
triadic
#2E2B8C #8C2E2B #2B8C2E
tetradic
#2E2B8C #8C2B58 #898C2B #2B8C5E
square
#2E2B8C #8C2B58 #898C2B #2B8C5E
split-complementary
#2E2B8C #8C5E2B #588C2B
monochromatic
#0F0E2E #1F1D5D #2E2B8C #3D39BB #6662CF
Accessibility & contrast
On white
11.41
#2E2B8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2E2B8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2B8C
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2B8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2B8C | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2e2b8c; /* rgb */ color: rgb(46, 43, 140); /* oklch */ color: oklch(36.1% 0.155 276.7);
Tailwind
colors: {
custom: {
50: '#7465af',
500: '#2e2b8c',
950: '#000000',
},
}SCSS
$custom: #2e2b8c; $custom-light: #7465af; $custom-dark: #000000;
JSON
{
"hex": "#2e2b8c",
"rgb": {
"r": 46,
"g": 43,
"b": 140
},
"hsl": {
"h": 241.856,
"s": 53.005,
"l": 35.882
},
"oklch": {
"l": 0.36144,
"c": 0.15506,
"h": 276.7
},
"luminance": 0.04202
}Semantic roles & 50–950 ramp
primary
#2E2B8C
secondary
#B2B55E
accent
#DC4BD8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F