#5671DB#5671DB

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

Color values

HEX#5671DB
RGBrgb(86, 113, 219)
HSLhsl(228, 65%, 60%)
HSVhsv(228, 61%, 86%)
CMYKcmyk(60.7%, 48.4%, 0%, 14.1%)
CIE-LABlab(50.57, 22.47, -57.39)
CIE-LCHlch(50.57, 61.64, 291.38°)
OKLaboklab(58.22% -0.0002 -0.1642)
OKLCHoklch(58.22% 0.164 269.9)
XYZxyz(22.5248, 18.9013, 69.4654)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5671DB #DBC056
analogous
#56B3DB #5671DB #7E56DB
triadic
#5671DB #DB5671 #71DB56
tetradic
#5671DB #DB56B3 #DBC056 #56DB7E
square
#5671DB #DB56B3 #DBC056 #56DB7E
split-complementary
#5671DB #DB7E56 #B3DB56
monochromatic
#203897 #2B4BC9 #5671DB #889BE6 #BBC6F0

Accessibility & contrast

On white

4.39
#5671DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5671DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5671DB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5671DB#FFFFFF#000000##000000
##5671DB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FDF
Deuteranopia (green-blind)
#2073D9
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5671db;
/* rgb */ color: rgb(86, 113, 219);
/* oklch */ color: oklch(58.2% 0.164 269.9);
Tailwind
colors: {
  custom: {
    50: '#9199e7',
    500: '#5671db',
    950: '#000000',
  },
}
SCSS
$custom: #5671db;
$custom-light: #9199e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5671db",
  "rgb": {
    "r": 86,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 227.82,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.16417,
    "h": 269.9
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#5671DB
secondary
#E0D6AD
accent
#C640E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5671DB

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

Preview Lab → · Contrast checker → · Palette generator →

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