#5186CF#5186CF

#5186CF is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.6% C 0.125 H 256.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5186CF
RGBrgb(81, 134, 207)
HSLhsl(215, 57%, 56%)
HSVhsv(215, 61%, 81%)
CMYKcmyk(60.9%, 35.3%, 0%, 18.8%)
CIE-LABlab(55.38, 4.69, -42.96)
CIE-LCHlch(55.38, 43.22, 276.23°)
OKLaboklab(61.64% -0.0287 -0.1217)
OKLCHoklch(61.64% 0.125 256.7)
XYZxyz(23.1769, 23.3024, 62.2958)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186CF #CF9A51
analogous
#51C5CF #5186CF #5B51CF
triadic
#5186CF #CF5186 #86CF51
tetradic
#5186CF #CF51C5 #CF9A51 #51CF5B
square
#5186CF #CF51C5 #CF9A51 #51CF5B
split-complementary
#5186CF #CF5B51 #C5CF51
monochromatic
#244B82 #3167B2 #5186CF #81A7DC #B1C9E9

Accessibility & contrast

On white

3.71
#5186CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5186CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186CF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186CF#FFFFFF#000000##000000
##5186CF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD2
Deuteranopia (green-blind)
#567FCD
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5186cf;
/* rgb */ color: rgb(81, 134, 207);
/* oklch */ color: oklch(61.6% 0.125 256.7);
Tailwind
colors: {
  custom: {
    50: '#8ca8de',
    500: '#5186cf',
    950: '#000000',
  },
}
SCSS
$custom: #5186cf;
$custom-light: #8ca8de;
$custom-dark: #000000;
JSON
{
  "hex": "#5186cf",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 214.762,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6164,
    "c": 0.12502,
    "h": 256.7
  },
  "luminance": 0.23305
}

Semantic roles & 50–950 ramp

primary
#5186CF
secondary
#D8C2A4
accent
#A048E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5186CF

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

Preview Lab → · Contrast checker → · Palette generator →

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