#5187BC#5187BC

#5187BC is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.9% C 0.100 H 249.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5187BC
RGBrgb(81, 135, 188)
HSLhsl(210, 44%, 53%)
HSVhsv(210, 57%, 74%)
CMYKcmyk(56.9%, 28.2%, 0%, 26.3%)
CIE-LABlab(54.77, -2.14, -33.14)
CIE-LCHlch(54.77, 33.21, 266.31°)
OKLaboklab(60.86% -0.0351 -0.0931)
OKLCHoklch(60.86% 0.1 249.3)
XYZxyz(21.1312, 22.7063, 50.8364)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5187BC #BC8651
analogous
#51BCBC #5187BC #5151BC
triadic
#5187BC #BC5187 #87BC51
tetradic
#5187BC #BC51BC #BC8651 #51BC51
square
#5187BC #BC51BC #BC8651 #51BC51
split-complementary
#5187BC #BC5151 #BCBC51
monochromatic
#294A6A #3A6896 #5187BC #7DA5CD #A9C4DE

Accessibility & contrast

On white

3.79
#5187BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5187BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5187BC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5187BC#FFFFFF#000000##000000
##5187BC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BE
Deuteranopia (green-blind)
#637EBB
Tritanopia (blue-blind)
#009399
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5187bc;
/* rgb */ color: rgb(81, 135, 188);
/* oklch */ color: oklch(60.9% 0.100 249.3);
Tailwind
colors: {
  custom: {
    50: '#8aa9d0',
    500: '#5187bc',
    950: '#000000',
  },
}
SCSS
$custom: #5187bc;
$custom-light: #8aa9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5187bc",
  "rgb": {
    "r": 81,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 209.72,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60864,
    "c": 0.09954,
    "h": 249.3
  },
  "luminance": 0.22708
}

Semantic roles & 50–950 ramp

primary
#5187BC
secondary
#CCB49D
accent
#9354D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5187BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5187BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva