#5681DC#5681DC

#5681DC is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.6% C 0.146 H 263.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5681DC
RGBrgb(86, 129, 220)
HSLhsl(221, 66%, 60%)
HSVhsv(221, 61%, 86%)
CMYKcmyk(60.9%, 41.4%, 0%, 13.7%)
CIE-LABlab(54.91, 13.00, -51.02)
CIE-LCHlch(54.91, 52.65, 284.29°)
OKLaboklab(61.56% -0.0163 -0.1452)
OKLCHoklch(61.56% 0.146 263.6)
XYZxyz(24.6018, 22.8441, 70.8091)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5681DC #DCB156
analogous
#56C4DC #5681DC #6E56DC
triadic
#5681DC #DC5681 #81DC56
tetradic
#5681DC #DC56C4 #DCB156 #56DC6E
square
#5681DC #DC56C4 #DCB156 #56DC6E
split-complementary
#5681DC #DC6E56 #C4DC56
monochromatic
#204698 #2A5ECB #5681DC #89A7E6 #BBCDF1

Accessibility & contrast

On white

3.77
#5681DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5681DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5681DC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5681DC#FFFFFF#000000##000000
##5681DC1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE0
Deuteranopia (green-blind)
#457EDA
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5681dc;
/* rgb */ color: rgb(86, 129, 220);
/* oklch */ color: oklch(61.6% 0.146 263.6);
Tailwind
colors: {
  custom: {
    50: '#91a5e7',
    500: '#5681dc',
    950: '#000000',
  },
}
SCSS
$custom: #5681dc;
$custom-light: #91a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5681dc",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 220.746,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.6156,
    "c": 0.14614,
    "h": 263.6
  },
  "luminance": 0.22846
}

Semantic roles & 50–950 ramp

primary
#5681DC
secondary
#E1D0AD
accent
#B23FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5681DC

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

Preview Lab → · Contrast checker → · Palette generator →

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