#5671BC#5671BC

#5671BC is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.121 H 267.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5671BC
RGBrgb(86, 113, 188)
HSLhsl(224, 43%, 54%)
HSVhsv(224, 54%, 74%)
CMYKcmyk(54.3%, 39.9%, 0%, 26.3%)
CIE-LABlab(48.78, 12.18, -42.54)
CIE-LCHlch(48.78, 44.25, 285.97°)
OKLaboklab(56.27% -0.0052 -0.1206)
OKLCHoklch(56.27% 0.121 267.5)
XYZxyz(18.8170, 17.4182, 49.9377)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671BC #BCA156
analogous
#56A4BC #5671BC #6E56BC
triadic
#5671BC #BC5671 #71BC56
tetradic
#5671BC #BC56A4 #BCA156 #56BC6E
square
#5671BC #BC56A4 #BCA156 #56BC6E
split-complementary
#5671BC #BC6E56 #A4BC56
monochromatic
#2B3C6D #3C5598 #5671BC #8296CD #AEBBDF

Accessibility & contrast

On white

4.68
#5671BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5671BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5671BC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671BC#FFFFFF#000000##FFFFFF
##5671BC1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#4670BA
Tritanopia (blue-blind)
#20818D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5671bc;
/* rgb */ color: rgb(86, 113, 188);
/* oklch */ color: oklch(56.3% 0.121 267.5);
Tailwind
colors: {
  custom: {
    50: '#8d99d0',
    500: '#5671bc',
    950: '#000000',
  },
}
SCSS
$custom: #5671bc;
$custom-light: #8d99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5671bc",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 224.118,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56271,
    "c": 0.12069,
    "h": 267.5
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#5671BC
secondary
#CDC1A1
accent
#B255D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5671BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5671BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva