#2C16B4#2C16B4
#2C16B4 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.9% C 0.222 H 273.9°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2C16B4 |
|---|---|
| RGB | rgb(44, 22, 180) |
| HSL | hsl(248, 78%, 40%) |
| HSV | hsv(248, 88%, 71%) |
| CMYK | cmyk(75.6%, 87.8%, 0%, 29.4%) |
| CIE-LAB | lab(24.96, 55.97, -76.69) |
| CIE-LCH | lch(24.96, 94.95, 306.12°) |
| OKLab | oklab(37.85% 0.0151 -0.2216) |
| OKLCH | oklch(37.85% 0.222 273.9) |
| XYZ | xyz(9.5611, 4.4036, 43.5173) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.33
Ultramarine
#2000B1
ΔE00 2.53
True Blue
#010FCC
ΔE00 2.92
Mediumblue
#0000CD
ΔE00 3.23
Cobalt Blue
#030AA7
ΔE00 3.46
Royal Blue (survey)
#0504AA
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C16B4 #9EB416
analogous
#164FB4 #2C16B4 #7B16B4
triadic
#2C16B4 #B42C16 #16B42C
tetradic
#2C16B4 #B4164F #9EB416 #16B47B
square
#2C16B4 #B4164F #9EB416 #16B47B
split-complementary
#2C16B4 #B47B16 #4FB416
monochromatic
#110947 #1F0F7D #2C16B4 #3E23E4 #6E5AEB
Accessibility & contrast
On white
11.16
#2C16B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2C16B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C16B4
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C16B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C16B4 | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042B8
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2c16b4; /* rgb */ color: rgb(44, 22, 180); /* oklch */ color: oklch(37.9% 0.222 273.9);
Tailwind
colors: {
custom: {
50: '#7e5ccc',
500: '#2c16b4',
950: '#000000',
},
}SCSS
$custom: #2c16b4; $custom-light: #7e5ccc; $custom-dark: #000000;
JSON
{
"hex": "#2c16b4",
"rgb": {
"r": 44,
"g": 22,
"b": 180
},
"hsl": {
"h": 248.354,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.37853,
"c": 0.22217,
"h": 273.9
},
"luminance": 0.04405
}Semantic roles & 50–950 ramp
primary
#2C16B4
secondary
#BECE58
accent
#F533DA
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982