#5C71BE#5C71BE

#5C71BE is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.122 H 270.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5C71BE
RGBrgb(92, 113, 190)
HSLhsl(227, 43%, 55%)
HSVhsv(227, 52%, 75%)
CMYKcmyk(51.6%, 40.5%, 0%, 25.5%)
CIE-LABlab(49.26, 14.18, -42.92)
CIE-LCHlch(49.26, 45.20, 288.28°)
OKLaboklab(56.77% 0.0013 -0.1216)
OKLCHoklch(56.77% 0.122 270.6)
XYZxyz(19.6100, 17.8020, 51.1080)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71BE #BEA95C
analogous
#5CA2BE #5C71BE #785CBE
triadic
#5C71BE #BE5C71 #71BE5C
tetradic
#5C71BE #BE5CA2 #BEA95C #5CBE78
square
#5C71BE #BE5CA2 #BEA95C #5CBE78
split-complementary
#5C71BE #BE785C #A2BE5C
monochromatic
#2E3C72 #3F539E #5C71BE #8897CF #B4BDE1

Accessibility & contrast

On white

4.60
#5C71BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5C71BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5C71BE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71BE#FFFFFF#000000##FFFFFF
##5C71BE1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#527AC1
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#30818E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5c71be;
/* rgb */ color: rgb(92, 113, 190);
/* oklch */ color: oklch(56.8% 0.122 270.6);
Tailwind
colors: {
  custom: {
    50: '#9099d2',
    500: '#5c71be',
    950: '#000000',
  },
}
SCSS
$custom: #5c71be;
$custom-light: #9099d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71be",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 227.143,
    "s": 42.982,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.12158,
    "h": 270.6
  },
  "luminance": 0.17803
}

Semantic roles & 50–950 ramp

primary
#5C71BE
secondary
#CFC7A6
accent
#B855D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5C71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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