#2B2A71#2B2A71
#2B2A71 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.2% C 0.119 H 278.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2A71 |
|---|---|
| RGB | rgb(43, 42, 113) |
| HSL | hsl(241, 46%, 30%) |
| HSV | hsv(241, 63%, 44%) |
| CMYK | cmyk(61.9%, 62.8%, 0%, 55.7%) |
| CIE-LAB | lab(21.44, 23.50, -41.03) |
| CIE-LCH | lch(21.44, 47.28, 299.80°) |
| OKLab | oklab(33.23% 0.0173 -0.1179) |
| OKLCH | oklch(33.23% 0.119 278.3) |
| XYZ | xyz(4.8039, 3.3614, 16.0153) |
| Luminance | 0.0336 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.03
Darkslateblue
#483D8B
ΔE00 7.05
Marine
#042E60
ΔE00 7.64
Royal
#0C1793
ΔE00 8.08
Blueberry
#464196
ΔE00 8.42
Navy Blue
#1B2A4A
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2A71 #70712A
analogous
#2A4C71 #2B2A71 #4E2A71
triadic
#2B2A71 #712B2A #2A712B
tetradic
#2B2A71 #712A4C #70712A #2A714E
square
#2B2A71 #712A4C #70712A #2A714E
split-complementary
#2B2A71 #714E2A #4C712A
monochromatic
#090918 #1A1944 #2B2A71 #3C3B9E #5755C0
Accessibility & contrast
On white
12.56
#2B2A71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#2B2A71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2A71
12.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2A71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2A71 | 1.00 | 12.56 | 1.67 | 12.56 |
| #FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b2a71; /* rgb */ color: rgb(43, 42, 113); /* oklch */ color: oklch(33.2% 0.119 278.3);
Tailwind
colors: {
custom: {
50: '#6c639a',
500: '#2b2a71',
950: '#000000',
},
}SCSS
$custom: #2b2a71; $custom-light: #6c639a; $custom-dark: #000000;
JSON
{
"hex": "#2b2a71",
"rgb": {
"r": 43,
"g": 42,
"b": 113
},
"hsl": {
"h": 240.845,
"s": 45.806,
"l": 30.392
},
"oklch": {
"l": 0.3323,
"c": 0.11916,
"h": 278.3
},
"luminance": 0.03362
}Semantic roles & 50–950 ramp
primary
#2B2A71
secondary
#A2A354
accent
#D552D4
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E