#2C1C88#2C1C88
#2C1C88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.167 H 279.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1C88 |
|---|---|
| RGB | rgb(44, 28, 136) |
| HSL | hsl(249, 66%, 32%) |
| HSV | hsv(249, 79%, 53%) |
| CMYK | cmyk(67.6%, 79.4%, 0%, 46.7%) |
| CIE-LAB | lab(20.61, 40.14, -56.99) |
| CIE-LCH | lch(20.61, 69.71, 305.16°) |
| OKLab | oklab(33.33% 0.0262 -0.1646) |
| OKLCH | oklch(33.33% 0.167 279) |
| XYZ | xyz(5.8965, 3.1431, 23.5837) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.97
Midnight Blue
#191970
ΔE00 4.35
Indigo (survey)
#380282
ΔE00 4.46
Darkblue
#00008B
ΔE00 5.19
Cobalt Blue
#030AA7
ΔE00 5.23
Navy
#000080
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1C88 #78881C
analogous
#1C4288 #2C1C88 #621C88
triadic
#2C1C88 #882C1C #1C882C
tetradic
#2C1C88 #881C42 #78881C #1C8862
square
#2C1C88 #881C42 #78881C #1C8862
split-complementary
#2C1C88 #88621C #42881C
monochromatic
#0B0722 #1C1255 #2C1C88 #3C26BB #5B46D9
Accessibility & contrast
On white
12.89
#2C1C88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2C1C88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1C88
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1C88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1C88 | 1.00 | 12.89 | 1.63 | 12.89 |
| #FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2c1c88; /* rgb */ color: rgb(44, 28, 136); /* oklch */ color: oklch(33.3% 0.167 279.0);
Tailwind
colors: {
custom: {
50: '#735bac',
500: '#2c1c88',
950: '#000000',
},
}SCSS
$custom: #2c1c88; $custom-light: #735bac; $custom-dark: #000000;
JSON
{
"hex": "#2c1c88",
"rgb": {
"r": 44,
"g": 28,
"b": 136
},
"hsl": {
"h": 248.889,
"s": 65.854,
"l": 32.157
},
"oklch": {
"l": 0.33334,
"c": 0.16665,
"h": 279
},
"luminance": 0.03144
}Semantic roles & 50–950 ramp
primary
#2C1C88
secondary
#A9BA45
accent
#E93FD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F