#5785BF#5785BF

#5785BF is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.9% C 0.102 H 254.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5785BF
RGBrgb(87, 133, 191)
HSLhsl(213, 45%, 55%)
HSVhsv(213, 54%, 75%)
CMYKcmyk(54.5%, 30.4%, 0%, 25.1%)
CIE-LABlab(54.62, 1.30, -35.07)
CIE-LCHlch(54.62, 35.09, 272.12°)
OKLaboklab(60.87% -0.0268 -0.0986)
OKLCHoklch(60.87% 0.102 254.8)
XYZxyz(21.7187, 22.5612, 52.4903)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785BF #BF9157
analogous
#57B9BF #5785BF #5D57BF
triadic
#5785BF #BF5785 #85BF57
tetradic
#5785BF #BF57B9 #BF9157 #57BF5D
square
#5785BF #BF57B9 #BF9157 #57BF5D
split-complementary
#5785BF #BF5D57 #B9BF57
monochromatic
#2B4A71 #3C679D #5785BF #83A5D0 #B0C5E1

Accessibility & contrast

On white

3.81
#5785BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5785BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785BF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785BF#FFFFFF#000000##000000
##5785BF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88C2
Deuteranopia (green-blind)
#607EBE
Tritanopia (blue-blind)
#17929A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5785bf;
/* rgb */ color: rgb(87, 133, 191);
/* oklch */ color: oklch(60.9% 0.102 254.8);
Tailwind
colors: {
  custom: {
    50: '#8da8d2',
    500: '#5785bf',
    950: '#000000',
  },
}
SCSS
$custom: #5785bf;
$custom-light: #8da8d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5785bf",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 191
  },
  "hsl": {
    "h": 213.462,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60868,
    "c": 0.10221,
    "h": 254.8
  },
  "luminance": 0.22563
}

Semantic roles & 50–950 ramp

primary
#5785BF
secondary
#CFBBA3
accent
#9B53D5
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5785BF

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

Preview Lab → · Contrast checker → · Palette generator →

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