#5789BC#5789BC

#5789BC is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.6% C 0.095 H 250.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5789BC
RGBrgb(87, 137, 188)
HSLhsl(210, 43%, 54%)
HSVhsv(210, 54%, 74%)
CMYKcmyk(53.7%, 27.1%, 0%, 26.3%)
CIE-LABlab(55.63, -1.99, -31.78)
CIE-LCHlch(55.63, 31.84, 266.41°)
OKLaboklab(61.62% -0.0323 -0.0891)
OKLCHoklch(61.62% 0.095 250.1)
XYZxyz(21.9500, 23.5466, 50.9555)
Luminance0.2355 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789BC #BC8A57
analogous
#57BCBC #5789BC #5857BC
triadic
#5789BC #BC5789 #89BC57
tetradic
#5789BC #BC57BC #BC8A57 #57BC58
square
#5789BC #BC57BC #BC8A57 #57BC58
split-complementary
#5789BC #BC5857 #BCBC57
monochromatic
#2C4C6D #3D6A99 #5789BC #83A8CD #AFC6DF

Accessibility & contrast

On white

3.68
#5789BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5789BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789BC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789BC#FFFFFF#000000##000000
##5789BC1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BBE
Deuteranopia (green-blind)
#6781BB
Tritanopia (blue-blind)
#1A959B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5789bc;
/* rgb */ color: rgb(87, 137, 188);
/* oklch */ color: oklch(61.6% 0.095 250.1);
Tailwind
colors: {
  custom: {
    50: '#8dabd0',
    500: '#5789bc',
    950: '#000000',
  },
}
SCSS
$custom: #5789bc;
$custom-light: #8dabd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5789bc",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 188
  },
  "hsl": {
    "h": 210.297,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61619,
    "c": 0.09479,
    "h": 250.1
  },
  "luminance": 0.23548
}

Semantic roles & 50–950 ramp

primary
#5789BC
secondary
#CDB8A2
accent
#9555D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D1014
muted
#7E7F82

Preview Lab

Preview with #5789BC

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

Preview Lab → · Contrast checker → · Palette generator →

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