#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
RGBrgb(55, 31, 194)
HSLhsl(249, 72%, 44%)
HSVhsv(249, 84%, 76%)
CMYKcmyk(71.6%, 84%, 0%, 23.9%)
CIE-LABlab(28.61, 57.16, -78.92)
CIE-LCHlch(28.61, 97.45, 305.91°)
OKLaboklab(41.03% 0.0237 -0.2281)
OKLCHoklch(41.03% 0.229 275.9)
XYZxyz(11.8000, 5.6861, 51.5041)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##371FC21.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.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

Preview Lab

Preview with #371FC2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#371FC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva