#5671DF#5671DF

#5671DF is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.170 H 270.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5671DF
RGBrgb(86, 113, 223)
HSLhsl(228, 68%, 61%)
HSVhsv(228, 61%, 87%)
CMYKcmyk(61.4%, 49.3%, 0%, 12.5%)
CIE-LABlab(50.82, 23.82, -59.25)
CIE-LCHlch(50.82, 63.86, 291.90°)
OKLaboklab(58.49% 0.0002 -0.1696)
OKLCHoklch(58.49% 0.17 270.1)
XYZxyz(23.0577, 19.1144, 72.2721)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671DF #DFC456
analogous
#56B5DF #5671DF #7F56DF
triadic
#5671DF #DF5671 #71DF56
tetradic
#5671DF #DF56B5 #DFC456 #56DF7F
square
#5671DF #DF56B5 #DFC456 #56DF7F
split-complementary
#5671DF #DF7F56 #B5DF56
monochromatic
#1E379D #2749D0 #5671DF #899CE9 #BDC7F2

Accessibility & contrast

On white

4.35
#5671DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5671DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671DF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671DF#FFFFFF#000000##000000
##5671DF1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE3
Deuteranopia (green-blind)
#1673DD
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5671df;
/* rgb */ color: rgb(86, 113, 223);
/* oklch */ color: oklch(58.5% 0.170 270.1);
Tailwind
colors: {
  custom: {
    50: '#9299ea',
    500: '#5671df',
    950: '#000000',
  },
}
SCSS
$custom: #5671df;
$custom-light: #9299ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5671df",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 228.175,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.16964,
    "h": 270.1
  },
  "luminance": 0.19116
}

Semantic roles & 50–950 ramp

primary
#5671DF
secondary
#E2D8AE
accent
#AB15D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5671DF

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

Preview Lab → · Contrast checker → · Palette generator →

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