#2B2A7E#2B2A7E
#2B2A7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.138 H 276.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2A7E |
|---|---|
| RGB | rgb(43, 42, 126) |
| HSL | hsl(241, 50%, 33%) |
| HSV | hsv(241, 67%, 49%) |
| CMYK | cmyk(65.9%, 66.7%, 0%, 50.6%) |
| CIE-LAB | lab(22.57, 28.19, -47.48) |
| CIE-LCH | lch(22.57, 55.21, 300.70°) |
| OKLab | oklab(34.41% 0.0165 -0.1368) |
| OKLCH | oklch(34.41% 0.138 276.9) |
| XYZ | xyz(5.5889, 3.6754, 20.1495) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.81
Royal
#0C1793
ΔE00 6.22
Darkslateblue
#483D8B
ΔE00 6.48
Blueberry
#464196
ΔE00 7.45
Sapphire (survey)
#2138AB
ΔE00 7.48
Indigo (survey)
#380282
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2A7E #7D7E2A
analogous
#2A537E #2B2A7E #552A7E
triadic
#2B2A7E #7E2B2A #2A7E2B
tetradic
#2B2A7E #7E2A53 #7D7E2A #2A7E55
square
#2B2A7E #7E2A53 #7D7E2A #2A7E55
split-complementary
#2B2A7E #7E552A #537E2A
monochromatic
#0C0B22 #1B1B50 #2B2A7E #3B39AC #5C5AC8
Accessibility & contrast
On white
12.10
#2B2A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#2B2A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2A7E
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2A7E | 1.00 | 12.10 | 1.74 | 12.10 |
| #FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2b2a7e; /* rgb */ color: rgb(43, 42, 126); /* oklch */ color: oklch(34.4% 0.138 276.9);
Tailwind
colors: {
custom: {
50: '#6f64a4',
500: '#2b2a7e',
950: '#000000',
},
}SCSS
$custom: #2b2a7e; $custom-light: #6f64a4; $custom-dark: #000000;
JSON
{
"hex": "#2b2a7e",
"rgb": {
"r": 43,
"g": 42,
"b": 126
},
"hsl": {
"h": 240.714,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.34412,
"c": 0.13783,
"h": 276.9
},
"luminance": 0.03676
}Semantic roles & 50–950 ramp
primary
#2B2A7E
secondary
#ADAE56
accent
#DA4ED8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F