#5789BF#5789BF

#5789BF is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.8% C 0.099 H 251.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5789BF
RGBrgb(87, 137, 191)
HSLhsl(211, 45%, 55%)
HSVhsv(211, 54%, 75%)
CMYKcmyk(54.5%, 28.3%, 0%, 25.1%)
CIE-LABlab(55.76, -1.05, -33.28)
CIE-LCHlch(55.76, 33.29, 268.20°)
OKLaboklab(61.77% -0.0314 -0.0934)
OKLCHoklch(61.77% 0.099 251.4)
XYZxyz(22.2768, 23.6773, 52.6764)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789BF #BF8D57
analogous
#57BDBF #5789BF #5957BF
triadic
#5789BF #BF5789 #89BF57
tetradic
#5789BF #BF57BD #BF8D57 #57BF59
square
#5789BF #BF57BD #BF8D57 #57BF59
split-complementary
#5789BF #BF5957 #BDBF57
monochromatic
#2B4C71 #3C6B9D #5789BF #83A8D0 #B0C7E1

Accessibility & contrast

On white

3.66
#5789BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5789BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789BF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789BF#FFFFFF#000000##000000
##5789BF1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#738BC1
Deuteranopia (green-blind)
#6681BE
Tritanopia (blue-blind)
#15959C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5789bf;
/* rgb */ color: rgb(87, 137, 191);
/* oklch */ color: oklch(61.8% 0.099 251.4);
Tailwind
colors: {
  custom: {
    50: '#8dabd2',
    500: '#5789bf',
    950: '#000000',
  },
}
SCSS
$custom: #5789bf;
$custom-light: #8dabd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5789bf",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 191
  },
  "hsl": {
    "h": 211.154,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61767,
    "c": 0.09857,
    "h": 251.4
  },
  "luminance": 0.23679
}

Semantic roles & 50–950 ramp

primary
#5789BF
secondary
#CFBAA3
accent
#9653D5
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D1014
muted
#7E7F82

Preview Lab

Preview with #5789BF

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

Preview Lab → · Contrast checker → · Palette generator →

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