#2C1C9E#2C1C9E
#2C1C9E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.8% C 0.193 H 275.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1C9E |
|---|---|
| RGB | rgb(44, 28, 158) |
| HSL | hsl(247, 70%, 36%) |
| HSV | hsv(247, 82%, 62%) |
| CMYK | cmyk(72.2%, 82.3%, 0%, 38%) |
| CIE-LAB | lab(23.11, 47.03, -66.47) |
| CIE-LCH | lch(23.11, 81.42, 305.28°) |
| OKLab | oklab(35.82% 0.02 -0.1921) |
| OKLCH | oklch(35.82% 0.193 275.9) |
| XYZ | xyz(7.6235, 3.8339, 32.6794) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.02
Indigo Blue
#3A18B1
ΔE00 3.09
Cobalt Blue
#030AA7
ΔE00 3.34
Royal Blue (survey)
#0504AA
ΔE00 3.75
Ultramarine
#2000B1
ΔE00 3.83
True Blue
#010FCC
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1C9E #8E9E1C
analogous
#1C4D9E #2C1C9E #6D1C9E
triadic
#2C1C9E #9E2C1C #1C9E2C
tetradic
#2C1C9E #9E1C4D #8E9E1C #1C9E6D
square
#2C1C9E #9E1C4D #8E9E1C #1C9E6D
split-complementary
#2C1C9E #9E6D1C #4D9E1C
monochromatic
#0F0A36 #1E136A #2C1C9E #3A25D2 #6554E1
Accessibility & contrast
On white
11.88
#2C1C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2C1C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1C9E
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1C9E | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00455E
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2c1c9e; /* rgb */ color: rgb(44, 28, 158); /* oklch */ color: oklch(35.8% 0.193 275.9);
Tailwind
colors: {
custom: {
50: '#785dbc',
500: '#2c1c9e',
950: '#000000',
},
}SCSS
$custom: #2c1c9e; $custom-light: #785dbc; $custom-dark: #000000;
JSON
{
"hex": "#2c1c9e",
"rgb": {
"r": 44,
"g": 28,
"b": 158
},
"hsl": {
"h": 247.385,
"s": 69.892,
"l": 36.471
},
"oklch": {
"l": 0.35815,
"c": 0.19316,
"h": 275.9
},
"luminance": 0.03835
}Semantic roles & 50–950 ramp
primary
#2C1C9E
secondary
#B6C452
accent
#ED3BD7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981