#2E2B7A#2E2B7A
#2E2B7A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.130 H 278.8°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2B7A |
|---|---|
| RGB | rgb(46, 43, 122) |
| HSL | hsl(242, 48%, 32%) |
| HSV | hsv(242, 65%, 48%) |
| CMYK | cmyk(62.3%, 64.8%, 0%, 52.2%) |
| CIE-LAB | lab(22.70, 26.61, -44.71) |
| CIE-LCH | lch(22.70, 52.03, 300.76°) |
| OKLab | oklab(34.46% 0.0199 -0.1286) |
| OKLCH | oklch(34.46% 0.13 278.8) |
| XYZ | xyz(5.5023, 3.7133, 18.8354) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.09
Darkslateblue
#483D8B
ΔE00 6.17
Royal
#0C1793
ΔE00 7.05
Blueberry
#464196
ΔE00 7.37
Sapphire (survey)
#2138AB
ΔE00 8.08
Marine
#042E60
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2B7A #777A2B
analogous
#2B507A #2E2B7A #552B7A
triadic
#2E2B7A #7A2E2B #2B7A2E
tetradic
#2E2B7A #7A2B50 #777A2B #2B7A55
square
#2E2B7A #7A2B50 #777A2B #2B7A55
split-complementary
#2E2B7A #7A552B #507A2B
monochromatic
#0C0B1F #1D1B4D #2E2B7A #3F3BA7 #5E5AC5
Accessibility & contrast
On white
12.05
#2E2B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2E2B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2B7A
12.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2B7A | 1.00 | 12.05 | 1.74 | 12.05 |
| #FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2e2b7a; /* rgb */ color: rgb(46, 43, 122); /* oklch */ color: oklch(34.5% 0.130 278.8);
Tailwind
colors: {
custom: {
50: '#7064a1',
500: '#2e2b7a',
950: '#000000',
},
}SCSS
$custom: #2e2b7a; $custom-light: #7064a1; $custom-dark: #000000;
JSON
{
"hex": "#2e2b7a",
"rgb": {
"r": 46,
"g": 43,
"b": 122
},
"hsl": {
"h": 242.278,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.34459,
"c": 0.13015,
"h": 278.8
},
"luminance": 0.03714
}Semantic roles & 50–950 ramp
primary
#2E2B7A
secondary
#A8AB56
accent
#D750D2
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08050F
muted
#7B7A7F