#2C1C9F#2C1C9F
#2C1C9F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.194 H 275.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1C9F |
|---|---|
| RGB | rgb(44, 28, 159) |
| HSL | hsl(247, 70%, 37%) |
| HSV | hsv(247, 82%, 62%) |
| CMYK | cmyk(72.3%, 82.4%, 0%, 37.6%) |
| CIE-LAB | lab(23.23, 47.34, -66.88) |
| CIE-LCH | lch(23.23, 81.94, 305.29°) |
| OKLab | oklab(35.93% 0.0197 -0.1933) |
| OKLCH | oklch(35.93% 0.194 275.8) |
| XYZ | xyz(7.7099, 3.8684, 33.1345) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.97
Royal
#0C1793
ΔE00 3.10
Cobalt Blue
#030AA7
ΔE00 3.31
Royal Blue (survey)
#0504AA
ΔE00 3.71
Ultramarine
#2000B1
ΔE00 3.75
True Blue
#010FCC
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1C9F #8F9F1C
analogous
#1C4E9F #2C1C9F #6E1C9F
triadic
#2C1C9F #9F2C1C #1C9F2C
tetradic
#2C1C9F #9F1C4E #8F9F1C #1C9F6E
square
#2C1C9F #9F1C4E #8F9F1C #1C9F6E
split-complementary
#2C1C9F #9F6E1C #4E9F1C
monochromatic
#0F0A37 #1E136B #2C1C9F #3A25D3 #6654E1
Accessibility & contrast
On white
11.84
#2C1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2C1C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1C9F
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1C9F | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c1c9f; /* rgb */ color: rgb(44, 28, 159); /* oklch */ color: oklch(35.9% 0.194 275.8);
Tailwind
colors: {
custom: {
50: '#785dbd',
500: '#2c1c9f',
950: '#000000',
},
}SCSS
$custom: #2c1c9f; $custom-light: #785dbd; $custom-dark: #000000;
JSON
{
"hex": "#2c1c9f",
"rgb": {
"r": 44,
"g": 28,
"b": 159
},
"hsl": {
"h": 247.328,
"s": 70.053,
"l": 36.667
},
"oklch": {
"l": 0.3593,
"c": 0.19434,
"h": 275.8
},
"luminance": 0.03869
}Semantic roles & 50–950 ramp
primary
#2C1C9F
secondary
#B6C453
accent
#ED3BD7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981