#5789C8#5789C8

#5789C8 is a light, moderate cyan. Relative luminance 0.241; OKLCH L 62.2% C 0.110 H 254.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5789C8
RGBrgb(87, 137, 200)
HSLhsl(213, 51%, 56%)
HSVhsv(213, 57%, 78%)
CMYKcmyk(56.5%, 31.5%, 0%, 21.6%)
CIE-LABlab(56.17, 1.82, -37.74)
CIE-LCHlch(56.17, 37.78, 272.77°)
OKLaboklab(62.22% -0.0288 -0.1064)
OKLCHoklch(62.22% 0.11 254.9)
XYZxyz(23.2978, 24.0857, 58.0537)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789C8 #C89657
analogous
#57C2C8 #5789C8 #5E57C8
triadic
#5789C8 #C85789 #89C857
tetradic
#5789C8 #C857C2 #C89657 #57C85E
square
#5789C8 #C857C2 #C89657 #57C85E
split-complementary
#5789C8 #C85E57 #C2C857
monochromatic
#294E7C #386AAA #5789C8 #85A9D7 #B3CAE6

Accessibility & contrast

On white

3.61
#5789C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5789C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789C8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789C8#FFFFFF#000000##000000
##5789C81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCB
Deuteranopia (green-blind)
#6182C7
Tritanopia (blue-blind)
#00979F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5789c8;
/* rgb */ color: rgb(87, 137, 200);
/* oklch */ color: oklch(62.2% 0.110 254.9);
Tailwind
colors: {
  custom: {
    50: '#8eabd9',
    500: '#5789c8',
    950: '#000000',
  },
}
SCSS
$custom: #5789c8;
$custom-light: #8eabd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5789c8",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 200
  },
  "hsl": {
    "h": 213.451,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62223,
    "c": 0.11018,
    "h": 254.9
  },
  "luminance": 0.24088
}

Semantic roles & 50–950 ramp

primary
#5789C8
secondary
#D5C0A6
accent
#9C4EDA
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5789C8

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

Preview Lab → · Contrast checker → · Palette generator →

#5789C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva