#5C71BF#5C71BF

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

Color values

HEX#5C71BF
RGBrgb(92, 113, 191)
HSLhsl(227, 44%, 55%)
HSVhsv(227, 52%, 75%)
CMYKcmyk(51.8%, 40.8%, 0%, 25.1%)
CIE-LABlab(49.31, 14.50, -43.41)
CIE-LCHlch(49.31, 45.77, 288.47°)
OKLaboklab(56.82% 0.0015 -0.123)
OKLCHoklch(56.82% 0.123 270.7)
XYZxyz(19.7197, 17.8458, 51.6856)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71BF #BFAA5C
analogous
#5CA2BF #5C71BF #795CBF
triadic
#5C71BF #BF5C71 #71BF5C
tetradic
#5C71BF #BF5CA2 #BFAA5C #5CBF79
square
#5C71BF #BF5CA2 #BFAA5C #5CBF79
split-complementary
#5C71BF #BF795C #A2BF5C
monochromatic
#2D3C73 #3F539F #5C71BF #8897D0 #B4BEE2

Accessibility & contrast

On white

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

On black

4.57
#5C71BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5C71BF#FFFFFF#000000##FFFFFF
##5C71BF1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#2F828F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5c71bf;
/* rgb */ color: rgb(92, 113, 191);
/* oklch */ color: oklch(56.8% 0.123 270.7);
Tailwind
colors: {
  custom: {
    50: '#9099d3',
    500: '#5c71bf',
    950: '#000000',
  },
}
SCSS
$custom: #5c71bf;
$custom-light: #9099d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71bf",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 227.273,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56824,
    "c": 0.12302,
    "h": 270.7
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#5C71BF
secondary
#D0C7A7
accent
#B854D3
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5C71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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