#5186BB#5186BB

#5186BB is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.6% C 0.099 H 249.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5186BB
RGBrgb(81, 134, 187)
HSLhsl(210, 44%, 53%)
HSVhsv(210, 57%, 73%)
CMYKcmyk(56.7%, 28.3%, 0%, 26.7%)
CIE-LABlab(54.43, -1.88, -33.09)
CIE-LCHlch(54.43, 33.15, 266.76°)
OKLaboklab(60.59% -0.0343 -0.093)
OKLCHoklch(60.59% 0.099 249.8)
XYZxyz(20.8849, 22.3856, 50.2243)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186BB #BB8651
analogous
#51BBBB #5186BB #5151BB
triadic
#5186BB #BB5186 #86BB51
tetradic
#5186BB #BB51BB #BB8651 #51BB51
square
#5186BB #BB51BB #BB8651 #51BB51
split-complementary
#5186BB #BB5151 #BBBB51
monochromatic
#294969 #3A6795 #5186BB #7DA5CC #A9C3DD

Accessibility & contrast

On white

3.83
#5186BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5186BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186BB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186BB#FFFFFF#000000##000000
##5186BB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7088BD
Deuteranopia (green-blind)
#627EBA
Tritanopia (blue-blind)
#009298
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5186bb;
/* rgb */ color: rgb(81, 134, 187);
/* oklch */ color: oklch(60.6% 0.099 249.8);
Tailwind
colors: {
  custom: {
    50: '#8aa9cf',
    500: '#5186bb',
    950: '#000000',
  },
}
SCSS
$custom: #5186bb;
$custom-light: #8aa9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5186bb",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 187
  },
  "hsl": {
    "h": 210,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60586,
    "c": 0.09912,
    "h": 249.8
  },
  "luminance": 0.22387
}

Semantic roles & 50–950 ramp

primary
#5186BB
secondary
#CBB49D
accent
#9454D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5186BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5186BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva