#5789BE#5789BE

#5789BE is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.7% C 0.097 H 251.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5789BE
RGBrgb(87, 137, 190)
HSLhsl(211, 44%, 54%)
HSVhsv(211, 54%, 75%)
CMYKcmyk(54.2%, 27.9%, 0%, 25.5%)
CIE-LABlab(55.72, -1.36, -32.78)
CIE-LCHlch(55.72, 32.80, 267.62°)
OKLaboklab(61.72% -0.0317 -0.092)
OKLCHoklch(61.72% 0.097 251)
XYZxyz(22.1671, 23.6335, 52.0988)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789BE #BE8C57
analogous
#57BDBE #5789BE #5957BE
triadic
#5789BE #BE5789 #89BE57
tetradic
#5789BE #BE57BD #BE8C57 #57BE59
square
#5789BE #BE57BD #BE8C57 #57BE59
split-complementary
#5789BE #BE5957 #BDBE57
monochromatic
#2B4C6F #3C6B9C #5789BE #83A8CF #AFC7E0

Accessibility & contrast

On white

3.67
#5789BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5789BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789BE
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789BE#FFFFFF#000000##000000
##5789BE1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BC0
Deuteranopia (green-blind)
#6681BD
Tritanopia (blue-blind)
#17959B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5789be;
/* rgb */ color: rgb(87, 137, 190);
/* oklch */ color: oklch(61.7% 0.097 251.0);
Tailwind
colors: {
  custom: {
    50: '#8dabd2',
    500: '#5789be',
    950: '#000000',
  },
}
SCSS
$custom: #5789be;
$custom-light: #8dabd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5789be",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 190
  },
  "hsl": {
    "h": 210.874,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61717,
    "c": 0.09731,
    "h": 251
  },
  "luminance": 0.23635
}

Semantic roles & 50–950 ramp

primary
#5789BE
secondary
#CEB9A3
accent
#9654D4
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D1014
muted
#7E7F82

Preview Lab

Preview with #5789BE

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

Preview Lab → · Contrast checker → · Palette generator →

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