#2E2A7B#2E2A7B
#2E2A7B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.133 H 279.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2A7B |
|---|---|
| RGB | rgb(46, 42, 123) |
| HSL | hsl(243, 49%, 32%) |
| HSV | hsv(243, 66%, 48%) |
| CMYK | cmyk(62.6%, 65.9%, 0%, 51.8%) |
| CIE-LAB | lab(22.54, 27.63, -45.62) |
| CIE-LCH | lch(22.54, 53.33, 301.20°) |
| OKLab | oklab(34.37% 0.0207 -0.1313) |
| OKLCH | oklch(34.37% 0.133 279) |
| XYZ | xyz(5.5287, 3.6664, 19.1514) |
| Luminance | 0.0367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.84
Darkslateblue
#483D8B
ΔE00 6.31
Royal
#0C1793
ΔE00 6.68
Blueberry
#464196
ΔE00 7.50
Sapphire (survey)
#2138AB
ΔE00 8.04
Indigo (survey)
#380282
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2A7B #777B2A
analogous
#2A4F7B #2E2A7B #572A7B
triadic
#2E2A7B #7B2E2A #2A7B2E
tetradic
#2E2A7B #7B2A4F #777B2A #2A7B57
square
#2E2A7B #7B2A4F #777B2A #2A7B57
split-complementary
#2E2A7B #7B572A #4F7B2A
monochromatic
#0C0B20 #1D1A4D #2E2A7B #3F3AA9 #5E59C6
Accessibility & contrast
On white
12.11
#2E2A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#2E2A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2A7B
12.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2A7B | 1.00 | 12.11 | 1.73 | 12.11 |
| #FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2e2a7b; /* rgb */ color: rgb(46, 42, 123); /* oklch */ color: oklch(34.4% 0.133 279.0);
Tailwind
colors: {
custom: {
50: '#7064a2',
500: '#2e2a7b',
950: '#000000',
},
}SCSS
$custom: #2e2a7b; $custom-light: #7064a2; $custom-dark: #000000;
JSON
{
"hex": "#2e2a7b",
"rgb": {
"r": 46,
"g": 42,
"b": 123
},
"hsl": {
"h": 242.963,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.34366,
"c": 0.13292,
"h": 279
},
"luminance": 0.03667
}Semantic roles & 50–950 ramp
primary
#2E2A7B
secondary
#A8AC55
accent
#D94FD2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F