#2C216E#2C216E
#2C216E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.127 H 282.8°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2C216E |
|---|---|
| RGB | rgb(44, 33, 110) |
| HSL | hsl(249, 54%, 28%) |
| HSV | hsv(249, 70%, 43%) |
| CMYK | cmyk(60%, 70%, 0%, 56.9%) |
| CIE-LAB | lab(19.01, 28.58, -43.04) |
| CIE-LCH | lch(19.01, 51.67, 303.59°) |
| OKLab | oklab(31.4% 0.0281 -0.1238) |
| OKLCH | oklch(31.4% 0.127 282.8) |
| XYZ | xyz(4.3962, 2.7487, 15.0477) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.16
Dark Indigo
#1F0954
ΔE00 6.51
Darkblue (survey)
#030764
ΔE00 6.81
Dark Royal Blue
#02066F
ΔE00 6.89
Royal
#0C1793
ΔE00 7.04
Indigo (survey)
#380282
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C216E #636E21
analogous
#213D6E #2C216E #52216E
triadic
#2C216E #6E2C21 #216E2C
tetradic
#2C216E #6E213D #636E21 #216E52
square
#2C216E #6E213D #636E21 #216E52
split-complementary
#2C216E #6E5221 #3D6E21
monochromatic
#090718 #19133F #2C216E #3F2F9D #5643C7
Accessibility & contrast
On white
13.55
#2C216E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#2C216E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C216E
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C216E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C216E | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#083544
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #2c216e; /* rgb */ color: rgb(44, 33, 110); /* oklch */ color: oklch(31.4% 0.127 282.8);
Tailwind
colors: {
custom: {
50: '#6d5d98',
500: '#2c216e',
950: '#000000',
},
}SCSS
$custom: #2c216e; $custom-light: #6d5d98; $custom-dark: #000000;
JSON
{
"hex": "#2c216e",
"rgb": {
"r": 44,
"g": 33,
"b": 110
},
"hsl": {
"h": 248.571,
"s": 53.846,
"l": 28.039
},
"oklch": {
"l": 0.31397,
"c": 0.12697,
"h": 282.8
},
"luminance": 0.02749
}Semantic roles & 50–950 ramp
primary
#2C216E
secondary
#95A249
accent
#DD4BC8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E