#5788BF#5788BF

#5788BF is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.5% C 0.099 H 252.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5788BF
RGBrgb(87, 136, 191)
HSLhsl(212, 45%, 55%)
HSVhsv(212, 54%, 75%)
CMYKcmyk(54.5%, 28.8%, 0%, 25.1%)
CIE-LABlab(55.48, -0.46, -33.72)
CIE-LCHlch(55.48, 33.73, 269.21°)
OKLaboklab(61.54% -0.0302 -0.0947)
OKLCHoklch(61.54% 0.099 252.3)
XYZxyz(22.1353, 23.3944, 52.6292)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5788BF #BF8E57
analogous
#57BCBF #5788BF #5A57BF
triadic
#5788BF #BF5788 #88BF57
tetradic
#5788BF #BF57BC #BF8E57 #57BF5A
square
#5788BF #BF57BC #BF8E57 #57BF5A
split-complementary
#5788BF #BF5A57 #BCBF57
monochromatic
#2B4C71 #3C6A9D #5788BF #83A7D0 #B0C7E1

Accessibility & contrast

On white

3.70
#5788BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5788BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5788BF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5788BF#FFFFFF#000000##000000
##5788BF1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#728BC1
Deuteranopia (green-blind)
#6480BE
Tritanopia (blue-blind)
#15959B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5788bf;
/* rgb */ color: rgb(87, 136, 191);
/* oklch */ color: oklch(61.5% 0.099 252.3);
Tailwind
colors: {
  custom: {
    50: '#8daad2',
    500: '#5788bf',
    950: '#000000',
  },
}
SCSS
$custom: #5788bf;
$custom-light: #8daad2;
$custom-dark: #000000;
JSON
{
  "hex": "#5788bf",
  "rgb": {
    "r": 87,
    "g": 136,
    "b": 191
  },
  "hsl": {
    "h": 211.731,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61541,
    "c": 0.09944,
    "h": 252.3
  },
  "luminance": 0.23396
}

Semantic roles & 50–950 ramp

primary
#5788BF
secondary
#CFBAA3
accent
#9853D5
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D1014
muted
#7E7F82

Preview Lab

Preview with #5788BF

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

Preview Lab → · Contrast checker → · Palette generator →

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