#3A1FC2#3A1FC2
#3A1FC2 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.2% C 0.229 H 277.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3A1FC2 |
|---|---|
| RGB | rgb(58, 31, 194) |
| HSL | hsl(250, 72%, 44%) |
| HSV | hsv(250, 84%, 76%) |
| CMYK | cmyk(70.1%, 84%, 0%, 23.9%) |
| CIE-LAB | lab(28.83, 57.37, -78.54) |
| CIE-LCH | lch(28.83, 97.26, 306.15°) |
| OKLab | oklab(41.25% 0.0279 -0.2269) |
| OKLCH | oklch(41.25% 0.229 277) |
| XYZ | xyz(11.9693, 5.7734, 51.5121) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.61
Violet Blue
#510AC9
ΔE00 3.15
True Blue
#010FCC
ΔE00 3.29
Ultramarine Blue
#1805DB
ΔE00 3.53
Mediumblue
#0000CD
ΔE00 4.02
Pure Blue
#0203E2
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A1FC2 #A7C21F
analogous
#1F55C2 #3A1FC2 #8C1FC2
triadic
#3A1FC2 #C23A1F #1FC23A
tetradic
#3A1FC2 #C21F55 #A7C21F #1FC28C
square
#3A1FC2 #C21F55 #A7C21F #1FC28C
split-complementary
#3A1FC2 #C28C1F #55C21F
monochromatic
#1A0E58 #2A178D #3A1FC2 #593EE0 #8673E9
Accessibility & contrast
On white
9.74
#3A1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#3A1FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A1FC2
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A1FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A1FC2 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AC6
Deuteranopia (green-blind)
#003DBF
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3a1fc2; /* rgb */ color: rgb(58, 31, 194); /* oklch */ color: oklch(41.2% 0.229 277.0);
Tailwind
colors: {
custom: {
50: '#8562d6',
500: '#3a1fc2',
950: '#000000',
},
}SCSS
$custom: #3a1fc2; $custom-light: #8562d6; $custom-dark: #000000;
JSON
{
"hex": "#3a1fc2",
"rgb": {
"r": 58,
"g": 31,
"b": 194
},
"hsl": {
"h": 249.939,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.41247,
"c": 0.22862,
"h": 277
},
"luminance": 0.05775
}Semantic roles & 50–950 ramp
primary
#3A1FC2
secondary
#BFCF6D
accent
#EF39D1
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83