#5186BF#5186BF

#5186BF is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.8% C 0.104 H 251.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5186BF
RGBrgb(81, 134, 191)
HSLhsl(211, 46%, 53%)
HSVhsv(211, 58%, 75%)
CMYKcmyk(57.6%, 29.8%, 0%, 25.1%)
CIE-LABlab(54.62, -0.58, -35.09)
CIE-LCHlch(54.62, 35.10, 269.05°)
OKLaboklab(60.79% -0.0331 -0.0988)
OKLCHoklch(60.79% 0.104 251.5)
XYZxyz(21.3190, 22.5593, 52.5110)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186BF #BF8A51
analogous
#51BDBF #5186BF #5351BF
triadic
#5186BF #BF5186 #86BF51
tetradic
#5186BF #BF51BD #BF8A51 #51BF53
square
#5186BF #BF51BD #BF8A51 #51BF53
split-complementary
#5186BF #BF5351 #BDBF51
monochromatic
#284A6D #39689A #5186BF #7EA5CF #AAC4E0

Accessibility & contrast

On white

3.81
#5186BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#5186BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186BF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186BF#FFFFFF#000000##000000
##5186BF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E89C1
Deuteranopia (green-blind)
#607EBE
Tritanopia (blue-blind)
#00939A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5186bf;
/* rgb */ color: rgb(81, 134, 191);
/* oklch */ color: oklch(60.8% 0.104 251.5);
Tailwind
colors: {
  custom: {
    50: '#8aa9d2',
    500: '#5186bf',
    950: '#000000',
  },
}
SCSS
$custom: #5186bf;
$custom-light: #8aa9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5186bf",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 191
  },
  "hsl": {
    "h": 211.091,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.10418,
    "h": 251.5
  },
  "luminance": 0.22561
}

Semantic roles & 50–950 ramp

primary
#5186BF
secondary
#CEB79E
accent
#9652D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5186BF

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

Preview Lab → · Contrast checker → · Palette generator →

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