#5C71CE#5C71CE

#5C71CE is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.7% C 0.144 H 271.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5C71CE
RGBrgb(92, 113, 206)
HSLhsl(229, 54%, 58%)
HSVhsv(229, 55%, 81%)
CMYKcmyk(55.3%, 45.1%, 0%, 19.2%)
CIE-LABlab(50.14, 19.34, -50.68)
CIE-LCHlch(50.14, 54.24, 290.88°)
OKLaboklab(57.74% 0.0041 -0.1443)
OKLCHoklch(57.74% 0.144 271.6)
XYZxyz(21.4557, 18.5402, 60.8286)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71CE #CEB95C
analogous
#5CAACE #5C71CE #805CCE
triadic
#5C71CE #CE5C71 #71CE5C
tetradic
#5C71CE #CE5CAA #CEB95C #5CCE80
square
#5C71CE #CE5CAA #CEB95C #5CCE80
split-complementary
#5C71CE #CE805C #AACE5C
monochromatic
#293A87 #374EB6 #5C71CE #8B9ADC #BAC3EA

Accessibility & contrast

On white

4.46
#5C71CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5C71CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71CE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71CE#FFFFFF#000000##000000
##5C71CE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD1
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#1C8595
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c71ce;
/* rgb */ color: rgb(92, 113, 206);
/* oklch */ color: oklch(57.7% 0.144 271.6);
Tailwind
colors: {
  custom: {
    50: '#9299dd',
    500: '#5c71ce',
    950: '#000000',
  },
}
SCSS
$custom: #5c71ce;
$custom-light: #9299dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71ce",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 228.947,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57736,
    "c": 0.14436,
    "h": 271.6
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#5C71CE
secondary
#DAD1AC
accent
#C24BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5C71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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