#5785BB#5785BB

#5785BB is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.7% C 0.097 H 253.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5785BB
RGBrgb(87, 133, 187)
HSLhsl(212, 42%, 54%)
HSVhsv(212, 53%, 73%)
CMYKcmyk(53.5%, 28.9%, 0%, 26.7%)
CIE-LABlab(54.44, 0.03, -33.07)
CIE-LCHlch(54.44, 33.07, 270.05°)
OKLaboklab(60.67% -0.0279 -0.0928)
OKLCHoklch(60.67% 0.097 253.2)
XYZxyz(21.2845, 22.3875, 50.2037)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785BB #BB8D57
analogous
#57B7BB #5785BB #5B57BB
triadic
#5785BB #BB5785 #85BB57
tetradic
#5785BB #BB57B7 #BB8D57 #57BB5B
square
#5785BB #BB57B7 #BB8D57 #57BB5B
split-complementary
#5785BB #BB5B57 #B7BB57
monochromatic
#2C496C #3D6797 #5785BB #83A5CD #AEC4DE

Accessibility & contrast

On white

3.83
#5785BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5785BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785BB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785BB#FFFFFF#000000##000000
##5785BB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BD
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#1E9198
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5785bb;
/* rgb */ color: rgb(87, 133, 187);
/* oklch */ color: oklch(60.7% 0.097 253.2);
Tailwind
colors: {
  custom: {
    50: '#8da8cf',
    500: '#5785bb',
    950: '#000000',
  },
}
SCSS
$custom: #5785bb;
$custom-light: #8da8cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5785bb",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 187
  },
  "hsl": {
    "h": 212.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.09697,
    "h": 253.2
  },
  "luminance": 0.22389
}

Semantic roles & 50–950 ramp

primary
#5785BB
secondary
#CCB9A2
accent
#9956D2
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5785BB

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

Preview Lab → · Contrast checker → · Palette generator →

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