#5C71BB#5C71BB

#5C71BB is a mid, moderate blue. Relative luminance 0.177; OKLCH L 56.6% C 0.117 H 270.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5C71BB
RGBrgb(92, 113, 187)
HSLhsl(227, 41%, 55%)
HSVhsv(227, 51%, 73%)
CMYKcmyk(50.8%, 39.6%, 0%, 26.7%)
CIE-LABlab(49.10, 13.22, -41.44)
CIE-LCHlch(49.10, 43.50, 287.70°)
OKLaboklab(56.59% 0.0007 -0.1172)
OKLCHoklch(56.59% 0.117 270.4)
XYZxyz(19.2855, 17.6722, 49.3989)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C71BB #BBA65C
analogous
#5CA1BB #5C71BB #775CBB
triadic
#5C71BB #BB5C71 #71BB5C
tetradic
#5C71BB #BB5CA1 #BBA65C #5CBB77
square
#5C71BB #BB5CA1 #BBA65C #5CBB77
split-complementary
#5C71BB #BB775C #A1BB5C
monochromatic
#2E3C6F #40549A #5C71BB #8797CD #B2BCDF

Accessibility & contrast

On white

4.63
#5C71BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5C71BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5C71BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C71BB#FFFFFF#000000##FFFFFF
##5C71BB1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#33818D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5c71bb;
/* rgb */ color: rgb(92, 113, 187);
/* oklch */ color: oklch(56.6% 0.117 270.4);
Tailwind
colors: {
  custom: {
    50: '#9099d0',
    500: '#5c71bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c71bb;
$custom-light: #9099d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c71bb",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 226.737,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.11725,
    "h": 270.4
  },
  "luminance": 0.17673
}

Semantic roles & 50–950 ramp

primary
#5C71BB
secondary
#CDC5A5
accent
#B657D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5C71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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