#5785CF#5785CF

#5785CF is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.7% C 0.124 H 259.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5785CF
RGBrgb(87, 133, 207)
HSLhsl(217, 56%, 58%)
HSVhsv(217, 58%, 81%)
CMYKcmyk(58%, 35.7%, 0%, 18.8%)
CIE-LABlab(55.38, 6.47, -42.94)
CIE-LCHlch(55.38, 43.42, 278.57°)
OKLaboklab(61.72% -0.0225 -0.1215)
OKLCHoklch(61.72% 0.124 259.5)
XYZxyz(23.5766, 23.3043, 62.2751)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785CF #CFA157
analogous
#57C1CF #5785CF #6557CF
triadic
#5785CF #CF5785 #85CF57
tetradic
#5785CF #CF57C1 #CFA157 #57CF65
square
#5785CF #CF57C1 #CFA157 #57CF65
split-complementary
#5785CF #CF6557 #C1CF57
monochromatic
#264B85 #3465B5 #5785CF #87A8DD #B6CAEA

Accessibility & contrast

On white

3.71
#5785CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5785CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785CF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785CF#FFFFFF#000000##000000
##5785CF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#668BD2
Deuteranopia (green-blind)
#577FCD
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5785cf;
/* rgb */ color: rgb(87, 133, 207);
/* oklch */ color: oklch(61.7% 0.124 259.5);
Tailwind
colors: {
  custom: {
    50: '#8fa8de',
    500: '#5785cf',
    950: '#000000',
  },
}
SCSS
$custom: #5785cf;
$custom-light: #8fa8de;
$custom-dark: #000000;
JSON
{
  "hex": "#5785cf",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 207
  },
  "hsl": {
    "h": 217,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61718,
    "c": 0.1236,
    "h": 259.5
  },
  "luminance": 0.23306
}

Semantic roles & 50–950 ramp

primary
#5785CF
secondary
#D9C7A9
accent
#A549DF
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5785CF

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

Preview Lab → · Contrast checker → · Palette generator →

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