#5187BF#5187BF

#5187BF is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 61.0% C 0.103 H 250.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5187BF
RGBrgb(81, 135, 191)
HSLhsl(211, 46%, 53%)
HSVhsv(211, 58%, 75%)
CMYKcmyk(57.6%, 29.3%, 0%, 25.1%)
CIE-LABlab(54.90, -1.17, -34.64)
CIE-LCHlch(54.90, 34.66, 268.07°)
OKLaboklab(61.02% -0.0342 -0.0975)
OKLCHoklch(61.02% 0.103 250.7)
XYZxyz(21.4579, 22.8370, 52.5573)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5187BF #BF8951
analogous
#51BEBF #5187BF #5251BF
triadic
#5187BF #BF5187 #87BF51
tetradic
#5187BF #BF51BE #BF8951 #51BF52
square
#5187BF #BF51BE #BF8951 #51BF52
split-complementary
#5187BF #BF5251 #BEBF51
monochromatic
#284A6D #39699A #5187BF #7EA6CF #AAC5E0

Accessibility & contrast

On white

3.77
#5187BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5187BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5187BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5187BF#FFFFFF#000000##000000
##5187BF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089C1
Deuteranopia (green-blind)
#617FBE
Tritanopia (blue-blind)
#00949B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5187bf;
/* rgb */ color: rgb(81, 135, 191);
/* oklch */ color: oklch(61.0% 0.103 250.7);
Tailwind
colors: {
  custom: {
    50: '#8aa9d2',
    500: '#5187bf',
    950: '#000000',
  },
}
SCSS
$custom: #5187bf;
$custom-light: #8aa9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5187bf",
  "rgb": {
    "r": 81,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 210.545,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61015,
    "c": 0.1033,
    "h": 250.7
  },
  "luminance": 0.22839
}

Semantic roles & 50–950 ramp

primary
#5187BF
secondary
#CEB69E
accent
#9552D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5187BF

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

Preview Lab → · Contrast checker → · Palette generator →

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