#5C71CF#5C71CF

#5C71CF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.8% C 0.146 H 271.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5C71CF
RGBrgb(92, 113, 207)
HSLhsl(229, 55%, 59%)
HSVhsv(229, 56%, 81%)
CMYKcmyk(55.6%, 45.4%, 0%, 18.8%)
CIE-LABlab(50.20, 19.66, -51.15)
CIE-LCHlch(50.20, 54.80, 291.02°)
OKLaboklab(57.8% 0.0043 -0.1457)
OKLCHoklch(57.8% 0.146 271.7)
XYZxyz(21.5776, 18.5890, 61.4704)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71CF #CFBA5C
analogous
#5CAACF #5C71CF #805CCF
triadic
#5C71CF #CF5C71 #71CF5C
tetradic
#5C71CF #CF5CAA #CFBA5C #5CCF80
square
#5C71CF #CF5CAA #CFBA5C #5CCF80
split-complementary
#5C71CF #CF805C #AACF5C
monochromatic
#283A88 #364EB8 #5C71CF #8B9ADD #BBC3EB

Accessibility & contrast

On white

4.45
#5C71CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5C71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71CF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71CF#FFFFFF#000000##000000
##5C71CF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#3873CD
Tritanopia (blue-blind)
#1A8696
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c71cf;
/* rgb */ color: rgb(92, 113, 207);
/* oklch */ color: oklch(57.8% 0.146 271.7);
Tailwind
colors: {
  custom: {
    50: '#9299de',
    500: '#5c71cf',
    950: '#000000',
  },
}
SCSS
$custom: #5c71cf;
$custom-light: #9299de;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71cf",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 229.043,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.14576,
    "h": 271.7
  },
  "luminance": 0.18591
}

Semantic roles & 50–950 ramp

primary
#5C71CF
secondary
#DAD2AD
accent
#C34ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5C71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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