#5C71CC#5C71CC

#5C71CC is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.142 H 271.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5C71CC
RGBrgb(92, 113, 204)
HSLhsl(229, 52%, 58%)
HSVhsv(229, 55%, 80%)
CMYKcmyk(54.9%, 44.6%, 0%, 20%)
CIE-LABlab(50.03, 18.68, -49.72)
CIE-LCHlch(50.03, 53.11, 290.60°)
OKLaboklab(57.61% 0.0038 -0.1415)
OKLCHoklch(57.61% 0.142 271.5)
XYZxyz(21.2143, 18.4437, 59.5571)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71CC #CCB75C
analogous
#5CA9CC #5C71CC #7F5CCC
triadic
#5C71CC #CC5C71 #71CC5C
tetradic
#5C71CC #CC5CA9 #CCB75C #5CCC7F
square
#5C71CC #CC5CA9 #CCB75C #5CCC7F
split-complementary
#5C71CC #CC7F5C #A9CC5C
monochromatic
#293A84 #384FB3 #5C71CC #8B9ADB #B9C2E9

Accessibility & contrast

On white

4.48
#5C71CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5C71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71CC#FFFFFF#000000##000000
##5C71CC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#3B72CA
Tritanopia (blue-blind)
#1F8594
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c71cc;
/* rgb */ color: rgb(92, 113, 204);
/* oklch */ color: oklch(57.6% 0.142 271.5);
Tailwind
colors: {
  custom: {
    50: '#9299dc',
    500: '#5c71cc',
    950: '#000000',
  },
}
SCSS
$custom: #5c71cc;
$custom-light: #9299dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71cc",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 228.75,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57611,
    "c": 0.14154,
    "h": 271.5
  },
  "luminance": 0.18445
}

Semantic roles & 50–950 ramp

primary
#5C71CC
secondary
#D8D0AC
accent
#C14CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5C71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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