#2C216A#2C216A
#2C216A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.121 H 283.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2C216A |
|---|---|
| RGB | rgb(44, 33, 106) |
| HSL | hsl(249, 53%, 27%) |
| HSV | hsv(249, 69%, 42%) |
| CMYK | cmyk(58.5%, 68.9%, 0%, 58.4%) |
| CIE-LAB | lab(18.64, 27.21, -41.04) |
| CIE-LCH | lch(18.64, 49.24, 303.55°) |
| OKLab | oklab(31.02% 0.0286 -0.1179) |
| OKLCH | oklch(31.02% 0.121 283.6) |
| XYZ | xyz(4.1833, 2.6635, 13.9266) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.57
Dark Indigo
#1F0954
ΔE00 6.24
Darkblue (survey)
#030764
ΔE00 6.96
Dark Royal Blue
#02066F
ΔE00 7.21
Indigo (survey)
#380282
ΔE00 7.64
Royal
#0C1793
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C216A #5F6A21
analogous
#213B6A #2C216A #51216A
triadic
#2C216A #6A2C21 #216A2C
tetradic
#2C216A #6A213B #5F6A21 #216A51
square
#2C216A #6A213B #5F6A21 #216A51
split-complementary
#2C216A #6A5121 #3B6A21
monochromatic
#0A0717 #19123B #2C216A #3F3099 #5541C4
Accessibility & contrast
On white
13.70
#2C216A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#2C216A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C216A
13.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C216A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C216A | 1.00 | 13.70 | 1.53 | 13.70 |
| #FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#0F3342
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #2c216a; /* rgb */ color: rgb(44, 33, 106); /* oklch */ color: oklch(31.0% 0.121 283.6);
Tailwind
colors: {
custom: {
50: '#6c5d95',
500: '#2c216a',
950: '#000000',
},
}SCSS
$custom: #2c216a; $custom-light: #6c5d95; $custom-dark: #000000;
JSON
{
"hex": "#2c216a",
"rgb": {
"r": 44,
"g": 33,
"b": 106
},
"hsl": {
"h": 249.041,
"s": 52.518,
"l": 27.255
},
"oklch": {
"l": 0.31019,
"c": 0.12136,
"h": 283.6
},
"luminance": 0.02664
}Semantic roles & 50–950 ramp
primary
#2C216A
secondary
#919E49
accent
#DC4CC6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E