#5789BD#5789BD

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

Color values

HEX#5789BD
RGBrgb(87, 137, 189)
HSLhsl(211, 44%, 54%)
HSVhsv(211, 54%, 74%)
CMYKcmyk(54%, 27.5%, 0%, 25.9%)
CIE-LABlab(55.67, -1.68, -32.28)
CIE-LCHlch(55.67, 32.32, 267.02°)
OKLaboklab(61.67% -0.032 -0.0905)
OKLCHoklch(61.67% 0.096 250.5)
XYZxyz(22.0582, 23.5899, 51.5252)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789BD #BD8B57
analogous
#57BCBD #5789BD #5857BD
triadic
#5789BD #BD5789 #89BD57
tetradic
#5789BD #BD57BC #BD8B57 #57BD58
square
#5789BD #BD57BC #BD8B57 #57BD58
split-complementary
#5789BD #BD5857 #BCBD57
monochromatic
#2B4C6E #3D6A9A #5789BD #83A8CE #AFC7E0

Accessibility & contrast

On white

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

On black

5.72
#5789BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789BD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789BD#FFFFFF#000000##000000
##5789BD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BBF
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#19959B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5789bd;
/* rgb */ color: rgb(87, 137, 189);
/* oklch */ color: oklch(61.7% 0.096 250.5);
Tailwind
colors: {
  custom: {
    50: '#8dabd1',
    500: '#5789bd',
    950: '#000000',
  },
}
SCSS
$custom: #5789bd;
$custom-light: #8dabd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5789bd",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 189
  },
  "hsl": {
    "h": 210.588,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.09604,
    "h": 250.5
  },
  "luminance": 0.23592
}

Semantic roles & 50–950 ramp

primary
#5789BD
secondary
#CEB8A2
accent
#9554D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D1014
muted
#7E7F82

Preview Lab

Preview with #5789BD

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

Preview Lab → · Contrast checker → · Palette generator →

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