#5787A3#5787A3

#5787A3 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 60.0% C 0.067 H 235.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5787A3
RGBrgb(87, 135, 163)
HSLhsl(202, 30%, 49%)
HSVhsv(202, 47%, 64%)
CMYKcmyk(46.6%, 17.2%, 0%, 36.1%)
CIE-LABlab(54.02, -8.44, -19.93)
CIE-LCHlch(54.02, 21.64, 247.06°)
OKLaboklab(60.01% -0.0385 -0.0552)
OKLCHoklch(60.01% 0.067 235.1)
XYZxyz(19.2030, 21.9971, 37.8772)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787A3 #A37357
analogous
#57A399 #5787A3 #5761A3
triadic
#5787A3 #A35787 #87A357
tetradic
#5787A3 #9957A3 #A37357 #61A357
square
#5787A3 #9957A3 #A37357 #61A357
split-complementary
#5787A3 #A35761 #A39957
monochromatic
#2C4553 #42667B #5787A3 #7DA4BA #A5C0CF

Accessibility & contrast

On white

3.89
#5787A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5787A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787A3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787A3#FFFFFF#000000##000000
##5787A31.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A86A4
Deuteranopia (green-blind)
#6F7EA3
Tritanopia (blue-blind)
#358E90
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5787a3;
/* rgb */ color: rgb(87, 135, 163);
/* oklch */ color: oklch(60.0% 0.067 235.1);
Tailwind
colors: {
  custom: {
    50: '#8aaabe',
    500: '#5787a3',
    950: '#000000',
  },
}
SCSS
$custom: #5787a3;
$custom-light: #8aaabe;
$custom-dark: #000000;
JSON
{
  "hex": "#5787a3",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 163
  },
  "hsl": {
    "h": 202.105,
    "s": 30.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.60013,
    "c": 0.06734,
    "h": 235.1
  },
  "luminance": 0.21999
}

Semantic roles & 50–950 ramp

primary
#5787A3
secondary
#BDA699
accent
#8761C7
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0C1012
muted
#7D7F81

Preview Lab

Preview with #5787A3

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

Preview Lab → · Contrast checker → · Palette generator →

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