#5D71BC#5D71BC

#5D71BC is a mid, moderate blue. Relative luminance 0.178; OKLCH L 56.7% C 0.118 H 271.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5D71BC
RGBrgb(93, 113, 188)
HSLhsl(227, 41%, 55%)
HSVhsv(227, 51%, 74%)
CMYKcmyk(50.5%, 39.9%, 0%, 26.3%)
CIE-LABlab(49.21, 13.78, -41.83)
CIE-LCHlch(49.21, 44.04, 288.23°)
OKLaboklab(56.72% 0.002 -0.1184)
OKLCHoklch(56.72% 0.118 271)
XYZxyz(19.4935, 17.7670, 49.9694)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71BC #BCA85D
analogous
#5DA1BC #5D71BC #785DBC
triadic
#5D71BC #BC5D71 #71BC5D
tetradic
#5D71BC #BC5DA1 #BCA85D #5DBC78
square
#5D71BC #BC5DA1 #BCA85D #5DBC78
split-complementary
#5D71BC #BC785D #A1BC5D
monochromatic
#2E3C70 #40549B #5D71BC #8897CE #B4BDE0

Accessibility & contrast

On white

4.61
#5D71BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5D71BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5D71BC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71BC#FFFFFF#000000##FFFFFF
##5D71BC1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#34818D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5d71bc;
/* rgb */ color: rgb(93, 113, 188);
/* oklch */ color: oklch(56.7% 0.118 271.0);
Tailwind
colors: {
  custom: {
    50: '#9199d0',
    500: '#5d71bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d71bc;
$custom-light: #9199d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71bc",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 227.368,
    "s": 41.485,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56715,
    "c": 0.11839,
    "h": 271
  },
  "luminance": 0.17768
}

Semantic roles & 50–950 ramp

primary
#5D71BC
secondary
#CEC6A6
accent
#B756D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5D71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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