#371FC2#371FC2
#371FC2 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 41.0% C 0.229 H 275.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #371FC2 |
|---|---|
| RGB | rgb(55, 31, 194) |
| HSL | hsl(249, 72%, 44%) |
| HSV | hsv(249, 84%, 76%) |
| CMYK | cmyk(71.6%, 84%, 0%, 23.9%) |
| CIE-LAB | lab(28.61, 57.16, -78.92) |
| CIE-LCH | lch(28.61, 97.45, 305.91°) |
| OKLab | oklab(41.03% 0.0237 -0.2281) |
| OKLCH | oklch(41.03% 0.229 275.9) |
| XYZ | xyz(11.8000, 5.6861, 51.5041) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.58
True Blue
#010FCC
ΔE00 3.08
Violet Blue
#510AC9
ΔE00 3.38
Ultramarine Blue
#1805DB
ΔE00 3.44
Mediumblue
#0000CD
ΔE00 3.85
Pure Blue
#0203E2
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371FC2 #AAC21F
analogous
#1F59C2 #371FC2 #881FC2
triadic
#371FC2 #C2371F #1FC237
tetradic
#371FC2 #C21F59 #AAC21F #1FC288
square
#371FC2 #C21F59 #AAC21F #1FC288
split-complementary
#371FC2 #C2881F #59C21F
monochromatic
#190E58 #28178D #371FC2 #563EE0 #8473E9
Accessibility & contrast
On white
9.83
#371FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#371FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371FC2
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371FC2 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AC6
Deuteranopia (green-blind)
#003CBF
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #371fc2; /* rgb */ color: rgb(55, 31, 194); /* oklch */ color: oklch(41.0% 0.229 275.9);
Tailwind
colors: {
custom: {
50: '#8462d6',
500: '#371fc2',
950: '#000000',
},
}SCSS
$custom: #371fc2; $custom-light: #8462d6; $custom-dark: #000000;
JSON
{
"hex": "#371fc2",
"rgb": {
"r": 55,
"g": 31,
"b": 194
},
"hsl": {
"h": 248.834,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.41033,
"c": 0.2293,
"h": 275.9
},
"luminance": 0.05687
}Semantic roles & 50–950 ramp
primary
#371FC2
secondary
#C1CF6D
accent
#EF39D4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83