#5671DA#5671DA

#5671DA is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.2% C 0.163 H 269.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5671DA
RGBrgb(86, 113, 218)
HSLhsl(228, 64%, 60%)
HSVhsv(228, 61%, 85%)
CMYKcmyk(60.6%, 48.2%, 0%, 14.5%)
CIE-LABlab(50.51, 22.13, -56.93)
CIE-LCHlch(50.51, 61.08, 291.25°)
OKLaboklab(58.15% -0.0003 -0.1628)
OKLCHoklch(58.15% 0.163 269.9)
XYZxyz(22.3935, 18.8488, 68.7742)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671DA #DABF56
analogous
#56B3DA #5671DA #7D56DA
triadic
#5671DA #DA5671 #71DA56
tetradic
#5671DA #DA56B3 #DABF56 #56DA7D
square
#5671DA #DA56B3 #DABF56 #56DA7D
split-complementary
#5671DA #DA7D56 #B3DA56
monochromatic
#213895 #2C4BC7 #5671DA #889BE5 #BAC5F0

Accessibility & contrast

On white

4.40
#5671DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5671DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671DA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671DA#FFFFFF#000000##000000
##5671DA1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDE
Deuteranopia (green-blind)
#2373D8
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5671da;
/* rgb */ color: rgb(86, 113, 218);
/* oklch */ color: oklch(58.2% 0.163 269.9);
Tailwind
colors: {
  custom: {
    50: '#9199e6',
    500: '#5671da',
    950: '#000000',
  },
}
SCSS
$custom: #5671da;
$custom-light: #9199e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5671da",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 227.727,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58152,
    "c": 0.1628,
    "h": 269.9
  },
  "luminance": 0.18851
}

Semantic roles & 50–950 ramp

primary
#5671DA
secondary
#E0D5AC
accent
#C541E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5671DA

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

Preview Lab → · Contrast checker → · Palette generator →

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