#5C71CD#5C71CD

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

Color values

HEX#5C71CD
RGBrgb(92, 113, 205)
HSLhsl(229, 53%, 58%)
HSVhsv(229, 55%, 80%)
CMYKcmyk(55.1%, 44.9%, 0%, 19.6%)
CIE-LABlab(50.09, 19.01, -50.20)
CIE-LCHlch(50.09, 53.68, 290.74°)
OKLaboklab(57.67% 0.004 -0.1429)
OKLCHoklch(57.67% 0.143 271.6)
XYZxyz(21.3346, 18.4918, 60.1908)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71CD #CDB85C
analogous
#5CA9CD #5C71CD #7F5CCD
triadic
#5C71CD #CD5C71 #71CD5C
tetradic
#5C71CD #CD5CA9 #CDB85C #5CCD7F
square
#5C71CD #CD5CA9 #CDB85C #5CCD7F
split-complementary
#5C71CD #CD7F5C #A9CD5C
monochromatic
#293A86 #374FB4 #5C71CD #8B9ADB #BAC3EA

Accessibility & contrast

On white

4.47
#5C71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5C71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71CD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71CD#FFFFFF#000000##000000
##5C71CD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD0
Deuteranopia (green-blind)
#3A73CB
Tritanopia (blue-blind)
#1D8595
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c71cd;
/* rgb */ color: rgb(92, 113, 205);
/* oklch */ color: oklch(57.7% 0.143 271.6);
Tailwind
colors: {
  custom: {
    50: '#9299dd',
    500: '#5c71cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c71cd;
$custom-light: #9299dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71cd",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 228.85,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57673,
    "c": 0.14295,
    "h": 271.6
  },
  "luminance": 0.18493
}

Semantic roles & 50–950 ramp

primary
#5C71CD
secondary
#D9D1AC
accent
#C14BDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5C71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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