#2B2A77#2B2A77
#2B2A77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.128 H 277.6°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2A77 |
|---|---|
| RGB | rgb(43, 42, 119) |
| HSL | hsl(241, 48%, 32%) |
| HSV | hsv(241, 65%, 47%) |
| CMYK | cmyk(63.9%, 64.7%, 0%, 53.3%) |
| CIE-LAB | lab(21.95, 25.67, -44.04) |
| CIE-LCH | lch(21.95, 50.97, 300.24°) |
| OKLab | oklab(33.77% 0.017 -0.1267) |
| OKLCH | oklch(33.77% 0.128 277.6) |
| XYZ | xyz(5.1529, 3.5010, 17.8534) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.76
Darkslateblue
#483D8B
ΔE00 6.70
Royal
#0C1793
ΔE00 7.15
Blueberry
#464196
ΔE00 7.90
Marine
#042E60
ΔE00 8.05
Sapphire (survey)
#2138AB
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2A77 #76772A
analogous
#2A5077 #2B2A77 #522A77
triadic
#2B2A77 #772B2A #2A772B
tetradic
#2B2A77 #772A50 #76772A #2A7752
square
#2B2A77 #772A50 #76772A #2A7752
split-complementary
#2B2A77 #77522A #50772A
monochromatic
#0A0A1D #1B1A4A #2B2A77 #3B3AA4 #5958C4
Accessibility & contrast
On white
12.35
#2B2A77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2B2A77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2A77
12.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2A77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2A77 | 1.00 | 12.35 | 1.70 | 12.35 |
| #FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2b2a77; /* rgb */ color: rgb(43, 42, 119); /* oklch */ color: oklch(33.8% 0.128 277.6);
Tailwind
colors: {
custom: {
50: '#6e639f',
500: '#2b2a77',
950: '#000000',
},
}SCSS
$custom: #2b2a77; $custom-light: #6e639f; $custom-dark: #000000;
JSON
{
"hex": "#2b2a77",
"rgb": {
"r": 43,
"g": 42,
"b": 119
},
"hsl": {
"h": 240.779,
"s": 47.826,
"l": 31.569
},
"oklch": {
"l": 0.33766,
"c": 0.12788,
"h": 277.6
},
"luminance": 0.03501
}Semantic roles & 50–950 ramp
primary
#2B2A77
secondary
#A8A954
accent
#D750D6
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E