#2C216F#2C216F
#2C216F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.128 H 282.6°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2C216F |
|---|---|
| RGB | rgb(44, 33, 111) |
| HSL | hsl(248, 54%, 28%) |
| HSV | hsv(248, 70%, 44%) |
| CMYK | cmyk(60.4%, 70.3%, 0%, 56.5%) |
| CIE-LAB | lab(19.10, 28.93, -43.54) |
| CIE-LCH | lch(19.10, 52.27, 303.60°) |
| OKLab | oklab(31.49% 0.0279 -0.1253) |
| OKLCH | oklch(31.49% 0.128 282.6) |
| XYZ | xyz(4.4509, 2.7706, 15.3361) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.08
Dark Indigo
#1F0954
ΔE00 6.59
Darkblue (survey)
#030764
ΔE00 6.79
Dark Royal Blue
#02066F
ΔE00 6.82
Royal
#0C1793
ΔE00 6.87
Indigo (survey)
#380282
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C216F #646F21
analogous
#213D6F #2C216F #53216F
triadic
#2C216F #6F2C21 #216F2C
tetradic
#2C216F #6F213D #646F21 #216F53
square
#2C216F #6F213D #646F21 #216F53
split-complementary
#2C216F #6F5321 #3D6F21
monochromatic
#090718 #191340 #2C216F #3F2F9E #5643C7
Accessibility & contrast
On white
13.51
#2C216F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#2C216F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C216F
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C216F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C216F | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#073545
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #2c216f; /* rgb */ color: rgb(44, 33, 111); /* oklch */ color: oklch(31.5% 0.128 282.6);
Tailwind
colors: {
custom: {
50: '#6d5d99',
500: '#2c216f',
950: '#000000',
},
}SCSS
$custom: #2c216f; $custom-light: #6d5d99; $custom-dark: #000000;
JSON
{
"hex": "#2c216f",
"rgb": {
"r": 44,
"g": 33,
"b": 111
},
"hsl": {
"h": 248.462,
"s": 54.167,
"l": 28.235
},
"oklch": {
"l": 0.31493,
"c": 0.12835,
"h": 282.6
},
"luminance": 0.02771
}Semantic roles & 50–950 ramp
primary
#2C216F
secondary
#96A349
accent
#DE4AC9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E