#5786CC#5786CC

#5786CC is a mid, moderate blue. Relative luminance 0.234; OKLCH L 61.8% C 0.118 H 258.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5786CC
RGBrgb(87, 134, 204)
HSLhsl(216, 53%, 57%)
HSVhsv(216, 57%, 80%)
CMYKcmyk(57.4%, 34.3%, 0%, 20%)
CIE-LABlab(55.52, 4.89, -41.03)
CIE-LCHlch(55.52, 41.33, 276.80°)
OKLaboklab(61.77% -0.0243 -0.116)
OKLCHoklch(61.77% 0.119 258.1)
XYZxyz(23.3509, 23.4341, 60.4077)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786CC #CC9D57
analogous
#57C1CC #5786CC #6257CC
triadic
#5786CC #CC5786 #86CC57
tetradic
#5786CC #CC57C1 #CC9D57 #57CC62
square
#5786CC #CC57C1 #CC9D57 #57CC62
split-complementary
#5786CC #CC6257 #C1CC57
monochromatic
#274B81 #3667B0 #5786CC #86A8DA #B5CAE9

Accessibility & contrast

On white

3.69
#5786CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#5786CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786CC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786CC#FFFFFF#000000##000000
##5786CC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5786cc;
/* rgb */ color: rgb(87, 134, 204);
/* oklch */ color: oklch(61.8% 0.118 258.1);
Tailwind
colors: {
  custom: {
    50: '#8fa8dc',
    500: '#5786cc',
    950: '#000000',
  },
}
SCSS
$custom: #5786cc;
$custom-light: #8fa8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5786cc",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 215.897,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61773,
    "c": 0.1185,
    "h": 258.1
  },
  "luminance": 0.23436
}

Semantic roles & 50–950 ramp

primary
#5786CC
secondary
#D7C4A8
accent
#A24BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5786CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5786CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva