#5687CD#5687CD

#5687CD is a mid, moderate blue. Relative luminance 0.237; OKLCH L 62.0% C 0.119 H 257.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5687CD
RGBrgb(86, 135, 205)
HSLhsl(215, 54%, 57%)
HSVhsv(215, 58%, 80%)
CMYKcmyk(58%, 34.1%, 0%, 19.6%)
CIE-LABlab(55.80, 4.42, -41.16)
CIE-LCHlch(55.80, 41.40, 276.13°)
OKLaboklab(62% -0.026 -0.1163)
OKLCHoklch(62% 0.119 257.4)
XYZxyz(23.5173, 23.7122, 61.0834)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5687CD #CD9C56
analogous
#56C3CD #5687CD #6156CD
triadic
#5687CD #CD5687 #87CD56
tetradic
#5687CD #CD56C3 #CD9C56 #56CD61
square
#5687CD #CD56C3 #CD9C56 #56CD61
split-complementary
#5687CD #CD6156 #C3CD56
monochromatic
#264C82 #3468B1 #5687CD #85A9DB #B4CAE9

Accessibility & contrast

On white

3.66
#5687CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5687CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5687CD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5687CD#FFFFFF#000000##000000
##5687CD1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5687cd;
/* rgb */ color: rgb(86, 135, 205);
/* oklch */ color: oklch(62.0% 0.119 257.4);
Tailwind
colors: {
  custom: {
    50: '#8fa9dc',
    500: '#5687cd',
    950: '#000000',
  },
}
SCSS
$custom: #5687cd;
$custom-light: #8fa9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5687cd",
  "rgb": {
    "r": 86,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 215.294,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61995,
    "c": 0.11923,
    "h": 257.4
  },
  "luminance": 0.23714
}

Semantic roles & 50–950 ramp

primary
#5687CD
secondary
#D8C4A7
accent
#A14ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5687CD

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

Preview Lab → · Contrast checker → · Palette generator →

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