#5787AD#5787AD

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

Color values

HEX#5787AD
RGBrgb(87, 135, 173)
HSLhsl(207, 34%, 51%)
HSVhsv(207, 50%, 68%)
CMYKcmyk(49.7%, 22%, 0%, 32.2%)
CIE-LABlab(54.42, -5.46, -25.08)
CIE-LCHlch(54.42, 25.67, 257.71°)
OKLaboklab(60.45% -0.0349 -0.0699)
OKLCHoklch(60.45% 0.078 243.4)
XYZxyz(20.1346, 22.3698, 42.7839)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787AD #AD7D57
analogous
#57ADA8 #5787AD #575CAD
triadic
#5787AD #AD5787 #87AD57
tetradic
#5787AD #A857AD #AD7D57 #5CAD57
square
#5787AD #A857AD #AD7D57 #5CAD57
split-complementary
#5787AD #AD575C #ADA857
monochromatic
#2D485C #416786 #5787AD #80A4C1 #A9C2D5

Accessibility & contrast

On white

3.84
#5787AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5787AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787AD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787AD#FFFFFF#000000##000000
##5787AD1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7787AF
Deuteranopia (green-blind)
#6B7EAC
Tritanopia (blue-blind)
#2D9094
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5787ad;
/* rgb */ color: rgb(87, 135, 173);
/* oklch */ color: oklch(60.5% 0.078 243.4);
Tailwind
colors: {
  custom: {
    50: '#8ba9c5',
    500: '#5787ad',
    950: '#000000',
  },
}
SCSS
$custom: #5787ad;
$custom-light: #8ba9c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5787ad",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 173
  },
  "hsl": {
    "h": 206.512,
    "s": 34.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60454,
    "c": 0.07811,
    "h": 243.4
  },
  "luminance": 0.22371
}

Semantic roles & 50–950 ramp

primary
#5787AD
secondary
#C3AE9D
accent
#8E5DCA
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #5787AD

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

Preview Lab → · Contrast checker → · Palette generator →

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