#5186CC#5186CC

#5186CC is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.5% C 0.121 H 255.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5186CC
RGBrgb(81, 134, 204)
HSLhsl(214, 55%, 56%)
HSVhsv(214, 60%, 80%)
CMYKcmyk(60.3%, 34.3%, 0%, 20%)
CIE-LABlab(55.23, 3.69, -41.50)
CIE-LCHlch(55.23, 41.66, 275.08°)
OKLaboklab(61.48% -0.0294 -0.1174)
OKLCHoklch(61.48% 0.121 255.9)
XYZxyz(22.8136, 23.1571, 60.3826)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186CC #CC9751
analogous
#51C4CC #5186CC #5951CC
triadic
#5186CC #CC5186 #86CC51
tetradic
#5186CC #CC51C4 #CC9751 #51CC59
square
#5186CC #CC51C4 #CC9751 #51CC59
split-complementary
#5186CC #CC5951 #C4CC51
monochromatic
#254B7E #3367AD #5186CC #80A7DA #B0C8E8

Accessibility & contrast

On white

3.73
#5186CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#5186CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186CC
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186CC#FFFFFF#000000##000000
##5186CC1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BCF
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5186cc;
/* rgb */ color: rgb(81, 134, 204);
/* oklch */ color: oklch(61.5% 0.121 255.9);
Tailwind
colors: {
  custom: {
    50: '#8ca8dc',
    500: '#5186cc',
    950: '#000000',
  },
}
SCSS
$custom: #5186cc;
$custom-light: #8ca8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5186cc",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 214.146,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.12105,
    "h": 255.9
  },
  "luminance": 0.23159
}

Semantic roles & 50–950 ramp

primary
#5186CC
secondary
#D6C0A3
accent
#9E4ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5186CC

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

Preview Lab → · Contrast checker → · Palette generator →

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