#5787AE#5787AE

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

Color values

HEX#5787AE
RGBrgb(87, 135, 174)
HSLhsl(207, 35%, 51%)
HSVhsv(207, 50%, 68%)
CMYKcmyk(50%, 22.4%, 0%, 31.8%)
CIE-LABlab(54.46, -5.16, -25.59)
CIE-LCHlch(54.46, 26.11, 258.60°)
OKLaboklab(60.5% -0.0346 -0.0713)
OKLCHoklch(60.5% 0.079 244.1)
XYZxyz(20.2317, 22.4087, 43.2954)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787AE #AE7E57
analogous
#57AEAA #5787AE #575BAE
triadic
#5787AE #AE5787 #87AE57
tetradic
#5787AE #AA57AE #AE7E57 #5BAE57
square
#5787AE #AA57AE #AE7E57 #5BAE57
split-complementary
#5787AE #AE575B #AEAA57
monochromatic
#2D485E #416887 #5787AE #80A4C2 #AAC2D6

Accessibility & contrast

On white

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

On black

5.48
#5787AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787AE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787AE#FFFFFF#000000##000000
##5787AE1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7787B0
Deuteranopia (green-blind)
#6B7EAD
Tritanopia (blue-blind)
#2C9094
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5787ae;
/* rgb */ color: rgb(87, 135, 174);
/* oklch */ color: oklch(60.5% 0.079 244.1);
Tailwind
colors: {
  custom: {
    50: '#8ba9c6',
    500: '#5787ae',
    950: '#000000',
  },
}
SCSS
$custom: #5787ae;
$custom-light: #8ba9c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5787ae",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 174
  },
  "hsl": {
    "h": 206.897,
    "s": 34.94,
    "l": 51.176
  },
  "oklch": {
    "l": 0.605,
    "c": 0.07927,
    "h": 244.1
  },
  "luminance": 0.2241
}

Semantic roles & 50–950 ramp

primary
#5787AE
secondary
#C4AE9D
accent
#8E5DCB
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #5787AE

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

Preview Lab → · Contrast checker → · Palette generator →

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