#2C1FA6#2C1FA6
#2C1FA6 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.200 H 274.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1FA6 |
|---|---|
| RGB | rgb(44, 31, 166) |
| HSL | hsl(246, 69%, 39%) |
| HSV | hsv(246, 81%, 65%) |
| CMYK | cmyk(73.5%, 81.3%, 0%, 34.9%) |
| CIE-LAB | lab(24.54, 48.07, -68.98) |
| CIE-LCH | lch(24.54, 84.07, 304.87°) |
| OKLab | oklab(37.07% 0.0166 -0.1995) |
| OKLCH | oklch(37.07% 0.2 274.8) |
| XYZ | xyz(8.4094, 4.2678, 36.4496) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.39
Cobalt Blue
#030AA7
ΔE00 3.72
Ultramarine
#2000B1
ΔE00 3.85
Royal
#0C1793
ΔE00 3.94
Royal Blue (survey)
#0504AA
ΔE00 4.07
True Blue
#010FCC
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1FA6 #99A61F
analogous
#1F55A6 #2C1FA6 #6F1FA6
triadic
#2C1FA6 #A62C1F #1FA62C
tetradic
#2C1FA6 #A61F55 #99A61F #1FA66F
square
#2C1FA6 #A61F55 #99A61F #1FA66F
split-complementary
#2C1FA6 #A66F1F #55A61F
monochromatic
#110C3F #1E1572 #2C1FA6 #3B2BD7 #6B5EE1
Accessibility & contrast
On white
11.33
#2C1FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#2C1FA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1FA6
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1FA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1FA6 | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040AA
Deuteranopia (green-blind)
#0034A4
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c1fa6; /* rgb */ color: rgb(44, 31, 166); /* oklch */ color: oklch(37.1% 0.200 274.8);
Tailwind
colors: {
custom: {
50: '#7a5fc2',
500: '#2c1fa6',
950: '#000000',
},
}SCSS
$custom: #2c1fa6; $custom-light: #7a5fc2; $custom-dark: #000000;
JSON
{
"hex": "#2c1fa6",
"rgb": {
"r": 44,
"g": 31,
"b": 166
},
"hsl": {
"h": 245.778,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.37073,
"c": 0.20015,
"h": 274.8
},
"luminance": 0.04269
}Semantic roles & 50–950 ramp
primary
#2C1FA6
secondary
#BBC55B
accent
#EB3CDB
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982