#5787CA#5787CA

#5787CA is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.9% C 0.115 H 256.9°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5787CA
RGBrgb(87, 135, 202)
HSLhsl(215, 52%, 57%)
HSVhsv(215, 57%, 79%)
CMYKcmyk(56.9%, 33.2%, 0%, 20.8%)
CIE-LABlab(55.70, 3.65, -39.61)
CIE-LCHlch(55.70, 39.78, 275.26°)
OKLaboklab(61.89% -0.026 -0.1118)
OKLCHoklch(61.89% 0.115 256.9)
XYZxyz(23.2514, 23.6165, 59.1988)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787CA #CA9A57
analogous
#57C0CA #5787CA #6157CA
triadic
#5787CA #CA5787 #87CA57
tetradic
#5787CA #CA57C0 #CA9A57 #57CA61
square
#5787CA #CA57C0 #CA9A57 #57CA61
split-complementary
#5787CA #CA6157 #C0CA57
monochromatic
#284C7F #3768AD #5787CA #86A8D9 #B4C9E7

Accessibility & contrast

On white

3.67
#5787CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5787CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787CA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787CA#FFFFFF#000000##000000
##5787CA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8BCD
Deuteranopia (green-blind)
#5D80C9
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5787ca;
/* rgb */ color: rgb(87, 135, 202);
/* oklch */ color: oklch(61.9% 0.115 256.9);
Tailwind
colors: {
  custom: {
    50: '#8fa9da',
    500: '#5787ca',
    950: '#000000',
  },
}
SCSS
$custom: #5787ca;
$custom-light: #8fa9da;
$custom-dark: #000000;
JSON
{
  "hex": "#5787ca",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 214.957,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61886,
    "c": 0.1148,
    "h": 256.9
  },
  "luminance": 0.23618
}

Semantic roles & 50–950 ramp

primary
#5787CA
secondary
#D6C2A7
accent
#A04CDB
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5787CA

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

Preview Lab → · Contrast checker → · Palette generator →

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