#5785B2#5785B2

#5785B2 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 60.2% C 0.086 H 248.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5785B2
RGBrgb(87, 133, 178)
HSLhsl(210, 37%, 52%)
HSVhsv(210, 51%, 70%)
CMYKcmyk(51.1%, 25.3%, 0%, 30.2%)
CIE-LABlab(54.04, -2.78, -28.53)
CIE-LCHlch(54.04, 28.67, 264.44°)
OKLaboklab(60.23% -0.0308 -0.0798)
OKLCHoklch(60.23% 0.086 248.9)
XYZxyz(20.3511, 22.0141, 45.2876)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785B2 #B28457
analogous
#57B2B2 #5785B2 #5758B2
triadic
#5785B2 #B25785 #85B257
tetradic
#5785B2 #B257B2 #B28457 #58B257
square
#5785B2 #B257B2 #B28457 #58B257
split-complementary
#5785B2 #B25758 #B2B257
monochromatic
#2D4862 #40668C #5785B2 #81A3C5 #ABC2D8

Accessibility & contrast

On white

3.89
#5785B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5785B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785B2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785B2#FFFFFF#000000##000000
##5785B21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B4
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#298F94
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5785b2;
/* rgb */ color: rgb(87, 133, 178);
/* oklch */ color: oklch(60.2% 0.086 248.9);
Tailwind
colors: {
  custom: {
    50: '#8ca8c9',
    500: '#5785b2',
    950: '#000000',
  },
}
SCSS
$custom: #5785b2;
$custom-light: #8ca8c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5785b2",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 178
  },
  "hsl": {
    "h": 209.67,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.08551,
    "h": 248.9
  },
  "luminance": 0.22016
}

Semantic roles & 50–950 ramp

primary
#5785B2
secondary
#C6B29E
accent
#935BCD
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #5785B2

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

Preview Lab → · Contrast checker → · Palette generator →

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