#5671DC#5671DC

#5671DC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.3% C 0.166 H 270.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5671DC
RGBrgb(86, 113, 220)
HSLhsl(228, 66%, 60%)
HSVhsv(228, 61%, 86%)
CMYKcmyk(60.9%, 48.6%, 0%, 13.7%)
CIE-LABlab(50.63, 22.81, -57.86)
CIE-LCHlch(50.63, 62.19, 291.51°)
OKLaboklab(58.29% -0.0001 -0.1655)
OKLCHoklch(58.29% 0.166 270)
XYZxyz(22.6568, 18.9541, 70.1608)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671DC #DCC156
analogous
#56B4DC #5671DC #7E56DC
triadic
#5671DC #DC5671 #71DC56
tetradic
#5671DC #DC56B4 #DCC156 #56DC7E
square
#5671DC #DC56B4 #DCC156 #56DC7E
split-complementary
#5671DC #DC7E56 #B4DC56
monochromatic
#203898 #2A4ACB #5671DC #899CE6 #BBC6F1

Accessibility & contrast

On white

4.38
#5671DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5671DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671DC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671DC#FFFFFF#000000##000000
##5671DC1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE0
Deuteranopia (green-blind)
#1E73DA
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5671dc;
/* rgb */ color: rgb(86, 113, 220);
/* oklch */ color: oklch(58.3% 0.166 270.0);
Tailwind
colors: {
  custom: {
    50: '#9199e7',
    500: '#5671dc',
    950: '#000000',
  },
}
SCSS
$custom: #5671dc;
$custom-light: #9199e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5671dc",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 227.91,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.58285,
    "c": 0.16554,
    "h": 270
  },
  "luminance": 0.18956
}

Semantic roles & 50–950 ramp

primary
#5671DC
secondary
#E1D6AD
accent
#C63FE9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5671DC

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

Preview Lab → · Contrast checker → · Palette generator →

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