#2B2971#2B2971
#2B2971 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.121 H 278.7°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2971 |
|---|---|
| RGB | rgb(43, 41, 113) |
| HSL | hsl(242, 47%, 30%) |
| HSV | hsv(242, 64%, 44%) |
| CMYK | cmyk(61.9%, 63.7%, 0%, 55.7%) |
| CIE-LAB | lab(21.18, 24.18, -41.45) |
| CIE-LCH | lch(21.18, 47.99, 300.25°) |
| OKLab | oklab(33.04% 0.0183 -0.1191) |
| OKLCH | oklch(33.04% 0.121 278.7) |
| XYZ | xyz(4.7689, 3.2914, 16.0036) |
| Luminance | 0.0329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.74
Darkslateblue
#483D8B
ΔE00 7.19
Royal
#0C1793
ΔE00 7.86
Marine
#042E60
ΔE00 7.87
Blueberry
#464196
ΔE00 8.58
Dark Indigo
#1F0954
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2971 #6F7129
analogous
#294B71 #2B2971 #4F2971
triadic
#2B2971 #712B29 #29712B
tetradic
#2B2971 #71294B #6F7129 #29714F
square
#2B2971 #71294B #6F7129 #29714F
split-complementary
#2B2971 #714F29 #4B7129
monochromatic
#090817 #1A1944 #2B2971 #3C399E #5754C1
Accessibility & contrast
On white
12.66
#2B2971 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2B2971 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2971
12.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2971 | 1.00 | 12.66 | 1.66 | 12.66 |
| #FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b2971; /* rgb */ color: rgb(43, 41, 113); /* oklch */ color: oklch(33.0% 0.121 278.7);
Tailwind
colors: {
custom: {
50: '#6c639a',
500: '#2b2971',
950: '#000000',
},
}SCSS
$custom: #2b2971; $custom-light: #6c639a; $custom-dark: #000000;
JSON
{
"hex": "#2b2971",
"rgb": {
"r": 43,
"g": 41,
"b": 113
},
"hsl": {
"h": 241.667,
"s": 46.753,
"l": 30.196
},
"oklch": {
"l": 0.33037,
"c": 0.12055,
"h": 278.7
},
"luminance": 0.03292
}Semantic roles & 50–950 ramp
primary
#2B2971
secondary
#A1A353
accent
#D651D3
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E