#5B71BB#5B71BB

#5B71BB is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.5% C 0.118 H 269.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5B71BB
RGBrgb(91, 113, 187)
HSLhsl(226, 41%, 55%)
HSVhsv(226, 51%, 73%)
CMYKcmyk(51.3%, 39.6%, 0%, 26.7%)
CIE-LABlab(49.03, 12.99, -41.55)
CIE-LCHlch(49.03, 43.53, 287.36°)
OKLaboklab(56.53% -0.0003 -0.1176)
OKLCHoklch(56.53% 0.118 269.8)
XYZxyz(19.1862, 17.6210, 49.3943)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B71BB #BBA55B
analogous
#5BA1BB #5B71BB #755BBB
triadic
#5B71BB #BB5B71 #71BB5B
tetradic
#5B71BB #BB5BA1 #BBA55B #5BBB75
square
#5B71BB #BB5BA1 #BBA55B #5BBB75
split-complementary
#5B71BB #BB755B #A1BB5B
monochromatic
#2E3C6E #405499 #5B71BB #8696CD #B2BCDF

Accessibility & contrast

On white

4.64
#5B71BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5B71BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B71BB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B71BB#FFFFFF#000000##FFFFFF
##5B71BB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#4971B9
Tritanopia (blue-blind)
#30818D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5b71bb;
/* rgb */ color: rgb(91, 113, 187);
/* oklch */ color: oklch(56.5% 0.118 269.8);
Tailwind
colors: {
  custom: {
    50: '#8f99d0',
    500: '#5b71bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b71bb;
$custom-light: #8f99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b71bb",
  "rgb": {
    "r": 91,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 226.25,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56527,
    "c": 0.11757,
    "h": 269.8
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#5B71BB
secondary
#CDC4A5
accent
#B557D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5B71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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