#5789CB#5789CB

#5789CB is a light, moderate cyan. Relative luminance 0.242; OKLCH L 62.4% C 0.114 H 255.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5789CB
RGBrgb(87, 137, 203)
HSLhsl(214, 53%, 57%)
HSVhsv(214, 57%, 80%)
CMYKcmyk(57.1%, 32.5%, 0%, 20.4%)
CIE-LABlab(56.31, 2.79, -39.21)
CIE-LCHlch(56.31, 39.31, 274.07°)
OKLaboklab(62.38% -0.0279 -0.1106)
OKLCHoklch(62.38% 0.114 255.8)
XYZxyz(23.6518, 24.2274, 59.9183)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789CB #CB9957
analogous
#57C3CB #5789CB #5F57CB
triadic
#5789CB #CB5789 #89CB57
tetradic
#5789CB #CB57C3 #CB9957 #57CB5F
square
#5789CB #CB57C3 #CB9957 #57CB5F
split-complementary
#5789CB #CB5F57 #C3CB57
monochromatic
#284E80 #366AAF #5789CB #86AAD9 #B4CBE8

Accessibility & contrast

On white

3.59
#5789CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5789CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789CB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789CB#FFFFFF#000000##000000
##5789CB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCE
Deuteranopia (green-blind)
#5F82CA
Tritanopia (blue-blind)
#0098A1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5789cb;
/* rgb */ color: rgb(87, 137, 203);
/* oklch */ color: oklch(62.4% 0.114 255.8);
Tailwind
colors: {
  custom: {
    50: '#8fabdb',
    500: '#5789cb',
    950: '#000000',
  },
}
SCSS
$custom: #5789cb;
$custom-light: #8fabdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5789cb",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 203
  },
  "hsl": {
    "h": 214.138,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6238,
    "c": 0.11412,
    "h": 255.8
  },
  "luminance": 0.24229
}

Semantic roles & 50–950 ramp

primary
#5789CB
secondary
#D7C2A7
accent
#9E4CDC
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5789CB

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

Preview Lab → · Contrast checker → · Palette generator →

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