#5B71BE#5B71BE

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

Color values

HEX#5B71BE
RGBrgb(91, 113, 190)
HSLhsl(227, 43%, 55%)
HSVhsv(227, 52%, 75%)
CMYKcmyk(52.1%, 40.5%, 0%, 25.5%)
CIE-LABlab(49.19, 13.95, -43.03)
CIE-LCHlch(49.19, 45.23, 287.96°)
OKLaboklab(56.7% 0.0003 -0.1219)
OKLCHoklch(56.7% 0.122 270.1)
XYZxyz(19.5108, 17.7508, 51.1033)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B71BE #BEA85B
analogous
#5BA2BE #5B71BE #775BBE
triadic
#5B71BE #BE5B71 #71BE5B
tetradic
#5B71BE #BE5BA2 #BEA85B #5BBE77
square
#5B71BE #BE5BA2 #BEA85B #5BBE77
split-complementary
#5B71BE #BE775B #A2BE5B
monochromatic
#2D3C72 #3E549D #5B71BE #8797CF #B3BDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B71BE#FFFFFF#000000##FFFFFF
##5B71BE1.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)
#527AC1
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#2D828E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b71be;
/* rgb */ color: rgb(91, 113, 190);
/* oklch */ color: oklch(56.7% 0.122 270.1);
Tailwind
colors: {
  custom: {
    50: '#9099d2',
    500: '#5b71be',
    950: '#000000',
  },
}
SCSS
$custom: #5b71be;
$custom-light: #9099d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b71be",
  "rgb": {
    "r": 91,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 226.667,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56701,
    "c": 0.12189,
    "h": 270.1
  },
  "luminance": 0.17752
}

Semantic roles & 50–950 ramp

primary
#5B71BE
secondary
#CFC6A6
accent
#B755D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5B71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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