#2C1FAC#2C1FAC
#2C1FAC is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.8% C 0.207 H 274.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1FAC |
|---|---|
| RGB | rgb(44, 31, 172) |
| HSL | hsl(246, 69%, 40%) |
| HSV | hsv(246, 82%, 67%) |
| CMYK | cmyk(74.4%, 82%, 0%, 32.5%) |
| CIE-LAB | lab(25.24, 49.91, -71.44) |
| CIE-LCH | lch(25.24, 87.15, 304.94°) |
| OKLab | oklab(37.76% 0.015 -0.2066) |
| OKLCH | oklch(37.76% 0.207 274.2) |
| XYZ | xyz(8.9726, 4.4931, 39.4161) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.94
Ultramarine
#2000B1
ΔE00 3.73
Cobalt Blue
#030AA7
ΔE00 3.90
True Blue
#010FCC
ΔE00 4.10
Royal Blue (survey)
#0504AA
ΔE00 4.17
Royal
#0C1793
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1FAC #9FAC1F
analogous
#1F58AC #2C1FAC #731FAC
triadic
#2C1FAC #AC2C1F #1FAC2C
tetradic
#2C1FAC #AC1F58 #9FAC1F #1FAC73
square
#2C1FAC #AC1F58 #9FAC1F #1FAC73
split-complementary
#2C1FAC #AC731F #58AC1F
monochromatic
#110C44 #1F1678 #2C1FAC #3E2FD9 #6E63E3
Accessibility & contrast
On white
11.06
#2C1FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2C1FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1FAC
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1FAC | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c1fac; /* rgb */ color: rgb(44, 31, 172); /* oklch */ color: oklch(37.8% 0.207 274.2);
Tailwind
colors: {
custom: {
50: '#7b5fc6',
500: '#2c1fac',
950: '#000000',
},
}SCSS
$custom: #2c1fac; $custom-light: #7b5fc6; $custom-dark: #000000;
JSON
{
"hex": "#2c1fac",
"rgb": {
"r": 44,
"g": 31,
"b": 172
},
"hsl": {
"h": 245.532,
"s": 69.458,
"l": 39.804
},
"oklch": {
"l": 0.37763,
"c": 0.20714,
"h": 274.2
},
"luminance": 0.04494
}Semantic roles & 50–950 ramp
primary
#2C1FAC
secondary
#BEC85F
accent
#EC3CDC
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982