#5786CA#5786CA

#5786CA is a mid, moderate blue. Relative luminance 0.233; OKLCH L 61.7% C 0.116 H 257.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5786CA
RGBrgb(87, 134, 202)
HSLhsl(215, 52%, 57%)
HSVhsv(215, 57%, 79%)
CMYKcmyk(56.9%, 33.7%, 0%, 20.8%)
CIE-LABlab(55.42, 4.24, -40.06)
CIE-LCHlch(55.42, 40.28, 276.05°)
OKLaboklab(61.67% -0.0249 -0.1131)
OKLCHoklch(61.67% 0.116 257.6)
XYZxyz(23.1125, 23.3388, 59.1525)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5786CA #CA9B57
analogous
#57C0CA #5786CA #6257CA
triadic
#5786CA #CA5786 #86CA57
tetradic
#5786CA #CA57C0 #CA9B57 #57CA62
square
#5786CA #CA57C0 #CA9B57 #57CA62
split-complementary
#5786CA #CA6257 #C0CA57
monochromatic
#284B7F #3767AD #5786CA #86A8D9 #B4C9E7

Accessibility & contrast

On white

3.70
#5786CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5786CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5786CA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5786CA#FFFFFF#000000##000000
##5786CA1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5786ca;
/* rgb */ color: rgb(87, 134, 202);
/* oklch */ color: oklch(61.7% 0.116 257.6);
Tailwind
colors: {
  custom: {
    50: '#8fa8da',
    500: '#5786ca',
    950: '#000000',
  },
}
SCSS
$custom: #5786ca;
$custom-light: #8fa8da;
$custom-dark: #000000;
JSON
{
  "hex": "#5786ca",
  "rgb": {
    "r": 87,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 215.478,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61665,
    "c": 0.11582,
    "h": 257.6
  },
  "luminance": 0.23341
}

Semantic roles & 50–950 ramp

primary
#5786CA
secondary
#D6C3A7
accent
#A14CDB
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5786CA

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

Preview Lab → · Contrast checker → · Palette generator →

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