#2C2971#2C2971
#2C2971 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.120 H 279.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2971 |
|---|---|
| RGB | rgb(44, 41, 113) |
| HSL | hsl(243, 47%, 30%) |
| HSV | hsv(243, 64%, 44%) |
| CMYK | cmyk(61.1%, 63.7%, 0%, 55.7%) |
| CIE-LAB | lab(21.26, 24.37, -41.32) |
| CIE-LCH | lch(21.26, 47.97, 300.53°) |
| OKLab | oklab(33.12% 0.0197 -0.1187) |
| OKLCH | oklch(33.12% 0.12 279.4) |
| XYZ | xyz(4.8113, 3.3133, 16.0056) |
| Luminance | 0.0331 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.77
Darkslateblue
#483D8B
ΔE00 7.11
Royal
#0C1793
ΔE00 7.89
Marine
#042E60
ΔE00 8.04
Blueberry
#464196
ΔE00 8.54
Dark Indigo
#1F0954
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2971 #6E7129
analogous
#294A71 #2C2971 #502971
triadic
#2C2971 #712C29 #29712C
tetradic
#2C2971 #71294A #6E7129 #297150
square
#2C2971 #71294A #6E7129 #297150
split-complementary
#2C2971 #715029 #4A7129
monochromatic
#090817 #1B1944 #2C2971 #3D399E #5854C1
Accessibility & contrast
On white
12.63
#2C2971 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2C2971 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2971
12.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2971 | 1.00 | 12.63 | 1.66 | 12.63 |
| #FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#013B48
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2c2971; /* rgb */ color: rgb(44, 41, 113); /* oklch */ color: oklch(33.1% 0.120 279.4);
Tailwind
colors: {
custom: {
50: '#6d639a',
500: '#2c2971',
950: '#000000',
},
}SCSS
$custom: #2c2971; $custom-light: #6d639a; $custom-dark: #000000;
JSON
{
"hex": "#2c2971",
"rgb": {
"r": 44,
"g": 41,
"b": 113
},
"hsl": {
"h": 242.5,
"s": 46.753,
"l": 30.196
},
"oklch": {
"l": 0.33118,
"c": 0.12034,
"h": 279.4
},
"luminance": 0.03314
}Semantic roles & 50–950 ramp
primary
#2C2971
secondary
#A0A353
accent
#D651D1
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E