#5786A2#5786A2

#5786A2 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.7% C 0.067 H 235.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5786A2
RGBrgb(87, 134, 162)
HSLhsl(202, 30%, 49%)
HSVhsv(202, 46%, 64%)
CMYKcmyk(46.3%, 17.3%, 0%, 36.5%)
CIE-LABlab(53.69, -8.16, -19.86)
CIE-LCHlch(53.69, 21.47, 247.66°)
OKLaboklab(59.74% -0.0377 -0.055)
OKLCHoklch(59.74% 0.067 235.6)
XYZxyz(18.9749, 21.6837, 37.3609)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786A2 #A27357
analogous
#57A299 #5786A2 #5761A2
triadic
#5786A2 #A25786 #86A257
tetradic
#5786A2 #9957A2 #A27357 #61A257
square
#5786A2 #9957A2 #A27357 #61A257
split-complementary
#5786A2 #A25761 #A29957
monochromatic
#2C4452 #42657A #5786A2 #7DA3B9 #A5BFCF

Accessibility & contrast

On white

3.93
#5786A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#5786A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786A2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786A2#FFFFFF#000000##000000
##5786A21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7985A3
Deuteranopia (green-blind)
#6F7DA2
Tritanopia (blue-blind)
#368D8F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5786a2;
/* rgb */ color: rgb(87, 134, 162);
/* oklch */ color: oklch(59.7% 0.067 235.6);
Tailwind
colors: {
  custom: {
    50: '#8aa9bd',
    500: '#5786a2',
    950: '#000000',
  },
}
SCSS
$custom: #5786a2;
$custom-light: #8aa9bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5786a2",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 162
  },
  "hsl": {
    "h": 202.4,
    "s": 30.12,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59736,
    "c": 0.06668,
    "h": 235.6
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#5786A2
secondary
#BCA699
accent
#8761C6
background
#F8FAFB
surface
#F0F4F6
border
#CBCED0
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #5786A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5786A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva