#5787BF#5787BF

#5787BF is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.3% C 0.100 H 253.1°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5787BF
RGBrgb(87, 135, 191)
HSLhsl(212, 45%, 55%)
HSVhsv(212, 54%, 75%)
CMYKcmyk(54.5%, 29.3%, 0%, 25.1%)
CIE-LABlab(55.19, 0.12, -34.17)
CIE-LCHlch(55.19, 34.17, 270.20°)
OKLaboklab(61.32% -0.0291 -0.096)
OKLCHoklch(61.32% 0.1 253.1)
XYZxyz(21.9951, 23.1140, 52.5825)
Luminance0.2312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5787BF #BF8F57
analogous
#57BBBF #5787BF #5B57BF
triadic
#5787BF #BF5787 #87BF57
tetradic
#5787BF #BF57BB #BF8F57 #57BF5B
square
#5787BF #BF57BB #BF8F57 #57BF5B
split-complementary
#5787BF #BF5B57 #BBBF57
monochromatic
#2B4B71 #3C699D #5787BF #83A7D0 #B0C6E1

Accessibility & contrast

On white

3.73
#5787BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5787BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5787BF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5787BF#FFFFFF#000000##000000
##5787BF1.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)
#708AC1
Deuteranopia (green-blind)
#6380BE
Tritanopia (blue-blind)
#16949B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5787bf;
/* rgb */ color: rgb(87, 135, 191);
/* oklch */ color: oklch(61.3% 0.100 253.1);
Tailwind
colors: {
  custom: {
    50: '#8da9d2',
    500: '#5787bf',
    950: '#000000',
  },
}
SCSS
$custom: #5787bf;
$custom-light: #8da9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5787bf",
  "rgb": {
    "r": 87,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 212.308,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61317,
    "c": 0.10034,
    "h": 253.1
  },
  "luminance": 0.23116
}

Semantic roles & 50–950 ramp

primary
#5787BF
secondary
#CFBBA3
accent
#9953D5
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5787BF

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

Preview Lab → · Contrast checker → · Palette generator →

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