#391FC2#391FC2
#391FC2 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 41.2% C 0.229 H 276.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #391FC2 |
|---|---|
| RGB | rgb(57, 31, 194) |
| HSL | hsl(250, 72%, 44%) |
| HSV | hsv(250, 84%, 76%) |
| CMYK | cmyk(70.6%, 84%, 0%, 23.9%) |
| CIE-LAB | lab(28.76, 57.30, -78.67) |
| CIE-LCH | lch(28.76, 97.33, 306.07°) |
| OKLab | oklab(41.17% 0.0265 -0.2273) |
| OKLCH | oklch(41.17% 0.229 276.6) |
| XYZ | xyz(11.9118, 5.7438, 51.5094) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.60
True Blue
#010FCC
ΔE00 3.22
Violet Blue
#510AC9
ΔE00 3.23
Ultramarine Blue
#1805DB
ΔE00 3.50
Mediumblue
#0000CD
ΔE00 3.96
Pure Blue
#0203E2
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391FC2 #A8C21F
analogous
#1F56C2 #391FC2 #8B1FC2
triadic
#391FC2 #C2391F #1FC239
tetradic
#391FC2 #C21F56 #A8C21F #1FC28B
square
#391FC2 #C21F56 #A8C21F #1FC28B
split-complementary
#391FC2 #C28B1F #56C21F
monochromatic
#1A0E58 #29178D #391FC2 #583EE0 #8673E9
Accessibility & contrast
On white
9.77
#391FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#391FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391FC2
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391FC2 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 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: #391fc2; /* rgb */ color: rgb(57, 31, 194); /* oklch */ color: oklch(41.2% 0.229 276.6);
Tailwind
colors: {
custom: {
50: '#8562d6',
500: '#391fc2',
950: '#000000',
},
}SCSS
$custom: #391fc2; $custom-light: #8562d6; $custom-dark: #000000;
JSON
{
"hex": "#391fc2",
"rgb": {
"r": 57,
"g": 31,
"b": 194
},
"hsl": {
"h": 249.571,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.41174,
"c": 0.22884,
"h": 276.6
},
"luminance": 0.05745
}Semantic roles & 50–950 ramp
primary
#391FC2
secondary
#C0CF6D
accent
#EF39D2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83