#5789C2#5789C2

#5789C2 is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.9% C 0.102 H 252.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5789C2
RGBrgb(87, 137, 194)
HSLhsl(212, 47%, 55%)
HSVhsv(212, 55%, 76%)
CMYKcmyk(55.2%, 29.4%, 0%, 23.9%)
CIE-LABlab(55.90, -0.10, -34.77)
CIE-LCHlch(55.90, 34.77, 269.84°)
OKLaboklab(61.92% -0.0305 -0.0977)
OKLCHoklch(61.92% 0.102 252.7)
XYZxyz(22.6103, 23.8107, 54.4329)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789C2 #C29057
analogous
#57BEC2 #5789C2 #5B57C2
triadic
#5789C2 #C25789 #89C257
tetradic
#5789C2 #C257BE #C29057 #57C25B
square
#5789C2 #C257BE #C29057 #57C25B
split-complementary
#5789C2 #C25B57 #BEC257
monochromatic
#2A4D74 #3B6BA1 #5789C2 #84A9D2 #B1C8E3

Accessibility & contrast

On white

3.64
#5789C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5789C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789C2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789C2#FFFFFF#000000##000000
##5789C21.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#728CC4
Deuteranopia (green-blind)
#6481C1
Tritanopia (blue-blind)
#0D969D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5789c2;
/* rgb */ color: rgb(87, 137, 194);
/* oklch */ color: oklch(61.9% 0.102 252.7);
Tailwind
colors: {
  custom: {
    50: '#8eabd4',
    500: '#5789c2',
    950: '#000000',
  },
}
SCSS
$custom: #5789c2;
$custom-light: #8eabd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5789c2",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 194
  },
  "hsl": {
    "h": 211.963,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61917,
    "c": 0.1024,
    "h": 252.7
  },
  "luminance": 0.23813
}

Semantic roles & 50–950 ramp

primary
#5789C2
secondary
#D1BCA4
accent
#9851D6
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5789C2

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

Preview Lab → · Contrast checker → · Palette generator →

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