#5C71CB#5C71CB

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

Color values

HEX#5C71CB
RGBrgb(92, 113, 203)
HSLhsl(229, 52%, 58%)
HSVhsv(229, 55%, 80%)
CMYKcmyk(54.7%, 44.3%, 0%, 20.4%)
CIE-LABlab(49.97, 18.36, -49.24)
CIE-LCHlch(49.97, 52.55, 290.45°)
OKLaboklab(57.55% 0.0037 -0.1401)
OKLCHoklch(57.55% 0.14 271.5)
XYZxyz(21.0947, 18.3959, 58.9275)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71CB #CBB65C
analogous
#5CA8CB #5C71CB #7F5CCB
triadic
#5C71CB #CB5C71 #71CB5C
tetradic
#5C71CB #CB5CA8 #CBB65C #5CCB7F
square
#5C71CB #CB5CA8 #CBB65C #5CCB7F
split-complementary
#5C71CB #CB7F5C #A8CB5C
monochromatic
#2A3B83 #394FB1 #5C71CB #8A99DA #B9C2E9

Accessibility & contrast

On white

4.49
#5C71CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5C71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C71CB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71CB#FFFFFF#000000##000000
##5C71CB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#3C72C9
Tritanopia (blue-blind)
#218594
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5c71cb;
/* rgb */ color: rgb(92, 113, 203);
/* oklch */ color: oklch(57.5% 0.140 271.5);
Tailwind
colors: {
  custom: {
    50: '#9299db',
    500: '#5c71cb',
    950: '#000000',
  },
}
SCSS
$custom: #5c71cb;
$custom-light: #9299db;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71cb",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 228.649,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57549,
    "c": 0.14013,
    "h": 271.5
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#5C71CB
secondary
#D8CFAB
accent
#C04DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5C71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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