#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
RGBrgb(57, 31, 194)
HSLhsl(250, 72%, 44%)
HSVhsv(250, 84%, 76%)
CMYKcmyk(70.6%, 84%, 0%, 23.9%)
CIE-LABlab(28.76, 57.30, -78.67)
CIE-LCHlch(28.76, 97.33, 306.07°)
OKLaboklab(41.17% 0.0265 -0.2273)
OKLCHoklch(41.17% 0.229 276.6)
XYZxyz(11.9118, 5.7438, 51.5094)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##391FC21.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.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

Preview Lab

Preview with #391FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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