#5687DC#5687DC

#5687DC is a light, vivid blue. Relative luminance 0.245; OKLCH L 62.8% C 0.139 H 260.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5687DC
RGBrgb(86, 135, 220)
HSLhsl(218, 66%, 60%)
HSVhsv(218, 61%, 86%)
CMYKcmyk(60.9%, 38.6%, 0%, 13.7%)
CIE-LABlab(56.56, 9.38, -48.40)
CIE-LCHlch(56.56, 49.30, 280.97°)
OKLaboklab(62.83% -0.0225 -0.1375)
OKLCHoklch(62.83% 0.139 260.7)
XYZxyz(25.4155, 24.4714, 71.0804)
Luminance0.2447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5687DC #DCAB56
analogous
#56CADC #5687DC #6856DC
triadic
#5687DC #DC5687 #87DC56
tetradic
#5687DC #DC56CA #DCAB56 #56DC68
square
#5687DC #DC56CA #DCAB56 #56DC68
split-complementary
#5687DC #DC6856 #CADC56
monochromatic
#204C98 #2A65CB #5687DC #89ABE6 #BBCFF1

Accessibility & contrast

On white

3.56
#5687DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5687DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5687DC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5687DC#FFFFFF#000000##000000
##5687DC1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#5082DA
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5687dc;
/* rgb */ color: rgb(86, 135, 220);
/* oklch */ color: oklch(62.8% 0.139 260.7);
Tailwind
colors: {
  custom: {
    50: '#91a9e7',
    500: '#5687dc',
    950: '#000000',
  },
}
SCSS
$custom: #5687dc;
$custom-light: #91a9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5687dc",
  "rgb": {
    "r": 86,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 218.06,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.62833,
    "c": 0.13932,
    "h": 260.7
  },
  "luminance": 0.24474
}

Semantic roles & 50–950 ramp

primary
#5687DC
secondary
#E1CEAD
accent
#AB3FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5687DC

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

Preview Lab → · Contrast checker → · Palette generator →

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