#5787C8#5787C8

#5787C8 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.8% C 0.112 H 256.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5787C8
RGBrgb(87, 135, 200)
HSLhsl(215, 51%, 56%)
HSVhsv(215, 57%, 78%)
CMYKcmyk(56.5%, 32.5%, 0%, 21.6%)
CIE-LABlab(55.61, 3.00, -38.63)
CIE-LCHlch(55.61, 38.75, 274.44°)
OKLaboklab(61.78% -0.0265 -0.109)
OKLCHoklch(61.78% 0.112 256.3)
XYZxyz(23.0161, 23.5224, 57.9598)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787C8 #C89857
analogous
#57C0C8 #5787C8 #6057C8
triadic
#5787C8 #C85787 #87C857
tetradic
#5787C8 #C857C0 #C89857 #57C860
square
#5787C8 #C857C0 #C89857 #57C860
split-complementary
#5787C8 #C86057 #C0C857
monochromatic
#294C7C #3868AA #5787C8 #85A8D7 #B3C9E6

Accessibility & contrast

On white

3.68
#5787C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5787C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787C8
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787C8#FFFFFF#000000##000000
##5787C81.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8BCB
Deuteranopia (green-blind)
#5E80C7
Tritanopia (blue-blind)
#00969E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5787c8;
/* rgb */ color: rgb(87, 135, 200);
/* oklch */ color: oklch(61.8% 0.112 256.3);
Tailwind
colors: {
  custom: {
    50: '#8ea9d9',
    500: '#5787c8',
    950: '#000000',
  },
}
SCSS
$custom: #5787c8;
$custom-light: #8ea9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5787c8",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 214.513,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6178,
    "c": 0.11215,
    "h": 256.3
  },
  "luminance": 0.23524
}

Semantic roles & 50–950 ramp

primary
#5787C8
secondary
#D5C1A6
accent
#9E4EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5787C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5787C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva