#5D71BB#5D71BB

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

Color values

HEX#5D71BB
RGBrgb(93, 113, 187)
HSLhsl(227, 41%, 55%)
HSVhsv(227, 50%, 73%)
CMYKcmyk(50.3%, 39.6%, 0%, 26.7%)
CIE-LABlab(49.16, 13.46, -41.34)
CIE-LCHlch(49.16, 43.48, 288.04°)
OKLaboklab(56.66% 0.0018 -0.1169)
OKLCHoklch(56.66% 0.117 270.9)
XYZxyz(19.3861, 17.7240, 49.4036)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71BB #BBA75D
analogous
#5DA0BB #5D71BB #785DBB
triadic
#5D71BB #BB5D71 #71BB5D
tetradic
#5D71BB #BB5DA0 #BBA75D #5DBB78
square
#5D71BB #BB5DA0 #BBA75D #5DBB78
split-complementary
#5D71BB #BB785D #A0BB5D
monochromatic
#2F3C6F #41549A #5D71BB #8897CD #B3BDDF

Accessibility & contrast

On white

4.62
#5D71BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D71BB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71BB#FFFFFF#000000##FFFFFF
##5D71BB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d71bb;
/* rgb */ color: rgb(93, 113, 187);
/* oklch */ color: oklch(56.7% 0.117 270.9);
Tailwind
colors: {
  custom: {
    50: '#9099d0',
    500: '#5d71bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d71bb;
$custom-light: #9099d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71bb",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 227.234,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56657,
    "c": 0.11693,
    "h": 270.9
  },
  "luminance": 0.17725
}

Semantic roles & 50–950 ramp

primary
#5D71BB
secondary
#CEC5A6
accent
#B757D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5D71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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