#5789BB#5789BB

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

Color values

HEX#5789BB
RGBrgb(87, 137, 187)
HSLhsl(210, 42%, 54%)
HSVhsv(210, 53%, 73%)
CMYKcmyk(53.5%, 26.7%, 0%, 26.7%)
CIE-LABlab(55.59, -2.31, -31.27)
CIE-LCHlch(55.59, 31.36, 265.78°)
OKLaboklab(61.57% -0.0327 -0.0876)
OKLCHoklch(61.57% 0.094 249.6)
XYZxyz(21.8426, 23.5037, 50.3897)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789BB #BB8957
analogous
#57BBBB #5789BB #5757BB
triadic
#5789BB #BB5789 #89BB57
tetradic
#5789BB #BB57BB #BB8957 #57BB57
square
#5789BB #BB57BB #BB8957 #57BB57
split-complementary
#5789BB #BB5757 #BBBB57
monochromatic
#2C4C6C #3D6A97 #5789BB #83A8CD #AEC6DE

Accessibility & contrast

On white

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

On black

5.70
#5789BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789BB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789BB#FFFFFF#000000##000000
##5789BB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BBD
Deuteranopia (green-blind)
#6781BA
Tritanopia (blue-blind)
#1C959A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5789bb;
/* rgb */ color: rgb(87, 137, 187);
/* oklch */ color: oklch(61.6% 0.094 249.6);
Tailwind
colors: {
  custom: {
    50: '#8dabcf',
    500: '#5789bb',
    950: '#000000',
  },
}
SCSS
$custom: #5789bb;
$custom-light: #8dabcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5789bb",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 187
  },
  "hsl": {
    "h": 210,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61571,
    "c": 0.09354,
    "h": 249.6
  },
  "luminance": 0.23505
}

Semantic roles & 50–950 ramp

primary
#5789BB
secondary
#CCB7A2
accent
#9456D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D1014
muted
#7E7F82

Preview Lab

Preview with #5789BB

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

Preview Lab → · Contrast checker → · Palette generator →

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