#5785CB#5785CB

#5785CB is a mid, moderate blue. Relative luminance 0.231; OKLCH L 61.5% C 0.118 H 258.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5785CB
RGBrgb(87, 133, 203)
HSLhsl(216, 53%, 57%)
HSVhsv(216, 57%, 80%)
CMYKcmyk(57.1%, 34.5%, 0%, 20.4%)
CIE-LABlab(55.19, 5.16, -40.99)
CIE-LCHlch(55.19, 41.31, 277.18°)
OKLaboklab(61.5% -0.0235 -0.1158)
OKLCHoklch(61.5% 0.118 258.5)
XYZxyz(23.0937, 23.1112, 59.7323)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5785CB #CB9D57
analogous
#57BFCB #5785CB #6357CB
triadic
#5785CB #CB5785 #85CB57
tetradic
#5785CB #CB57BF #CB9D57 #57CB63
square
#5785CB #CB57BF #CB9D57 #57CB63
split-complementary
#5785CB #CB6357 #BFCB57
monochromatic
#284B80 #3666AF #5785CB #86A7D9 #B4C9E8

Accessibility & contrast

On white

3.73
#5785CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5785CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5785CB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5785CB#FFFFFF#000000##000000
##5785CB1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#00959E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5785cb;
/* rgb */ color: rgb(87, 133, 203);
/* oklch */ color: oklch(61.5% 0.118 258.5);
Tailwind
colors: {
  custom: {
    50: '#8fa8db',
    500: '#5785cb',
    950: '#000000',
  },
}
SCSS
$custom: #5785cb;
$custom-light: #8fa8db;
$custom-dark: #000000;
JSON
{
  "hex": "#5785cb",
  "rgb": {
    "r": 87,
    "g": 133,
    "b": 203
  },
  "hsl": {
    "h": 216.207,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.615,
    "c": 0.11821,
    "h": 258.5
  },
  "luminance": 0.23113
}

Semantic roles & 50–950 ramp

primary
#5785CB
secondary
#D7C4A7
accent
#A34CDC
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5785CB

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

Preview Lab → · Contrast checker → · Palette generator →

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