#5785BA#5785BA

#5785BA is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.6% C 0.096 H 252.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5785BA
RGBrgb(87, 133, 186)
HSLhsl(212, 42%, 54%)
HSVhsv(212, 53%, 73%)
CMYKcmyk(53.2%, 28.5%, 0%, 27.1%)
CIE-LABlab(54.39, -0.29, -32.57)
CIE-LCHlch(54.39, 32.57, 269.49°)
OKLaboklab(60.62% -0.0283 -0.0914)
OKLCHoklch(60.62% 0.096 252.8)
XYZxyz(21.1778, 22.3448, 49.6418)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785BA #BA8C57
analogous
#57B6BA #5785BA #5A57BA
triadic
#5785BA #BA5785 #85BA57
tetradic
#5785BA #BA57B6 #BA8C57 #57BA5A
square
#5785BA #BA57B6 #BA8C57 #57BA5A
split-complementary
#5785BA #BA5A57 #B6BA57
monochromatic
#2C496B #3E6796 #5785BA #82A5CC #AEC4DE

Accessibility & contrast

On white

3.84
#5785BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5785BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785BA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785BA#FFFFFF#000000##000000
##5785BA1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7087BC
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#1F9198
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5785ba;
/* rgb */ color: rgb(87, 133, 186);
/* oklch */ color: oklch(60.6% 0.096 252.8);
Tailwind
colors: {
  custom: {
    50: '#8da8cf',
    500: '#5785ba',
    950: '#000000',
  },
}
SCSS
$custom: #5785ba;
$custom-light: #8da8cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5785ba",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 186
  },
  "hsl": {
    "h": 212.121,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.09567,
    "h": 252.8
  },
  "luminance": 0.22346
}

Semantic roles & 50–950 ramp

primary
#5785BA
secondary
#CCB8A1
accent
#9856D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F13
muted
#7E7F82

Preview Lab

Preview with #5785BA

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

Preview Lab → · Contrast checker → · Palette generator →

#5785BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva