#5787AF#5787AF

#5787AF is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.5% C 0.080 H 244.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5787AF
RGBrgb(87, 135, 175)
HSLhsl(207, 35%, 51%)
HSVhsv(207, 50%, 69%)
CMYKcmyk(50.3%, 22.9%, 0%, 31.4%)
CIE-LABlab(54.50, -4.85, -26.10)
CIE-LCHlch(54.50, 26.55, 259.46°)
OKLaboklab(60.55% -0.0342 -0.0728)
OKLCHoklch(60.55% 0.08 244.8)
XYZxyz(20.3296, 22.4478, 43.8107)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787AF #AF7F57
analogous
#57AFAB #5787AF #575BAF
triadic
#5787AF #AF5787 #87AF57
tetradic
#5787AF #AB57AF #AF7F57 #5BAF57
square
#5787AF #AB57AF #AF7F57 #5BAF57
split-complementary
#5787AF #AF575B #AFAB57
monochromatic
#2D485F #416888 #5787AF #80A5C3 #AAC2D6

Accessibility & contrast

On white

3.83
#5787AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5787AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787AF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787AF#FFFFFF#000000##000000
##5787AF1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7687B1
Deuteranopia (green-blind)
#6B7EAE
Tritanopia (blue-blind)
#2B9194
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5787af;
/* rgb */ color: rgb(87, 135, 175);
/* oklch */ color: oklch(60.5% 0.080 244.8);
Tailwind
colors: {
  custom: {
    50: '#8ca9c7',
    500: '#5787af',
    950: '#000000',
  },
}
SCSS
$custom: #5787af;
$custom-light: #8ca9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5787af",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 207.273,
    "s": 35.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60546,
    "c": 0.08043,
    "h": 244.8
  },
  "luminance": 0.22449
}

Semantic roles & 50–950 ramp

primary
#5787AF
secondary
#C4AF9E
accent
#8F5CCC
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #5787AF

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

Preview Lab → · Contrast checker → · Palette generator →

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