#5671BF#5671BF

#5671BF is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.125 H 267.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5671BF
RGBrgb(86, 113, 191)
HSLhsl(225, 45%, 54%)
HSVhsv(225, 55%, 75%)
CMYKcmyk(55%, 40.8%, 0%, 25.1%)
CIE-LABlab(48.94, 13.16, -44.01)
CIE-LCHlch(48.94, 45.94, 286.64°)
OKLaboklab(56.45% -0.0046 -0.1249)
OKLCHoklch(56.45% 0.125 267.9)
XYZxyz(19.1437, 17.5489, 51.6586)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671BF #BFA456
analogous
#56A6BF #5671BF #7056BF
triadic
#5671BF #BF5671 #71BF56
tetradic
#5671BF #BF56A6 #BFA456 #56BF70
square
#5671BF #BF56A6 #BFA456 #56BF70
split-complementary
#5671BF #BF7056 #A6BF56
monochromatic
#2A3C70 #3B549D #5671BF #8296D0 #AFBCE1

Accessibility & contrast

On white

4.66
#5671BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5671BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5671BF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671BF#FFFFFF#000000##FFFFFF
##5671BF1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5179C2
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#1B828F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5671bf;
/* rgb */ color: rgb(86, 113, 191);
/* oklch */ color: oklch(56.4% 0.125 267.9);
Tailwind
colors: {
  custom: {
    50: '#8d99d3',
    500: '#5671bf',
    950: '#000000',
  },
}
SCSS
$custom: #5671bf;
$custom-light: #8d99d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5671bf",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 224.571,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56448,
    "c": 0.12498,
    "h": 267.9
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#5671BF
secondary
#CFC3A2
accent
#B353D5
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5671BF

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

Preview Lab → · Contrast checker → · Palette generator →

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