#5785BD#5785BD

#5785BD is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.8% C 0.100 H 254.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5785BD
RGBrgb(87, 133, 189)
HSLhsl(213, 44%, 54%)
HSVhsv(213, 54%, 74%)
CMYKcmyk(54%, 29.6%, 0%, 25.9%)
CIE-LABlab(54.53, 0.66, -34.07)
CIE-LCHlch(54.53, 34.08, 271.11°)
OKLaboklab(60.77% -0.0273 -0.0957)
OKLCHoklch(60.77% 0.1 254.1)
XYZxyz(21.5001, 22.4737, 51.3391)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785BD #BD8F57
analogous
#57B8BD #5785BD #5C57BD
triadic
#5785BD #BD5785 #85BD57
tetradic
#5785BD #BD57B8 #BD8F57 #57BD5C
square
#5785BD #BD57B8 #BD8F57 #57BD5C
split-complementary
#5785BD #BD5C57 #B8BD57
monochromatic
#2B4A6E #3D679A #5785BD #83A5CE #AFC5E0

Accessibility & contrast

On white

3.82
#5785BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5785BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785BD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785BD#FFFFFF#000000##000000
##5785BD1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88BF
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#1B9299
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5785bd;
/* rgb */ color: rgb(87, 133, 189);
/* oklch */ color: oklch(60.8% 0.100 254.1);
Tailwind
colors: {
  custom: {
    50: '#8da8d1',
    500: '#5785bd',
    950: '#000000',
  },
}
SCSS
$custom: #5785bd;
$custom-light: #8da8d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5785bd",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 189
  },
  "hsl": {
    "h": 212.941,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60767,
    "c": 0.09958,
    "h": 254.1
  },
  "luminance": 0.22475
}

Semantic roles & 50–950 ramp

primary
#5785BD
secondary
#CEBAA2
accent
#9A54D3
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5785BD

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

Preview Lab → · Contrast checker → · Palette generator →

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