#5C71E6#5C71E6

#5C71E6 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.177 H 272.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5C71E6
RGBrgb(92, 113, 230)
HSLhsl(231, 73%, 63%)
HSVhsv(231, 60%, 90%)
CMYKcmyk(60%, 50.9%, 0%, 9.8%)
CIE-LABlab(51.61, 27.22, -61.91)
CIE-LCHlch(51.61, 67.63, 293.73°)
OKLaboklab(59.32% 0.0069 -0.1773)
OKLCHoklch(59.32% 0.177 272.2)
XYZxyz(24.5970, 19.7967, 77.3725)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71E6 #E6D15C
analogous
#5CB6E6 #5C71E6 #8C5CE6
triadic
#5C71E6 #E65C71 #71E65C
tetradic
#5C71E6 #E65CB6 #E6D15C #5CE68C
square
#5C71E6 #E65CB6 #E6D15C #5CE68C
split-complementary
#5C71E6 #E68C5C #B6E65C
monochromatic
#1B31AD #2743DE #5C71E6 #919FEE #C6CDF6

Accessibility & contrast

On white

4.23
#5C71E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5C71E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71E6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71E6#FFFFFF#000000##000000
##5C71E61.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F81EA
Deuteranopia (green-blind)
#0375E4
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5c71e6;
/* rgb */ color: rgb(92, 113, 230);
/* oklch */ color: oklch(59.3% 0.177 272.2);
Tailwind
colors: {
  custom: {
    50: '#9699ef',
    500: '#5c71e6',
    950: '#000000',
  },
}
SCSS
$custom: #5c71e6;
$custom-light: #9699ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71e6",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 230.87,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59315,
    "c": 0.17745,
    "h": 272.2
  },
  "luminance": 0.19799
}

Semantic roles & 50–950 ramp

primary
#5C71E6
secondary
#E8E0B6
accent
#B710D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5C71E6

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

Preview Lab → · Contrast checker → · Palette generator →

#5C71E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva