#5186CD#5186CD

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

Color values

HEX#5186CD
RGBrgb(81, 134, 205)
HSLhsl(214, 55%, 56%)
HSVhsv(214, 60%, 80%)
CMYKcmyk(60.5%, 34.6%, 0%, 19.6%)
CIE-LABlab(55.28, 4.02, -41.99)
CIE-LCHlch(55.28, 42.18, 275.48°)
OKLaboklab(61.53% -0.0292 -0.1188)
OKLCHoklch(61.53% 0.122 256.2)
XYZxyz(22.9340, 23.2052, 61.0162)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186CD #CD9851
analogous
#51C4CD #5186CD #5A51CD
triadic
#5186CD #CD5186 #86CD51
tetradic
#5186CD #CD51C4 #CD9851 #51CD5A
square
#5186CD #CD51C4 #CD9851 #51CD5A
split-complementary
#5186CD #CD5A51 #C4CD51
monochromatic
#254B7F #3267AF #5186CD #81A7DB #B0C8E8

Accessibility & contrast

On white

3.72
#5186CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#5186CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186CD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186CD#FFFFFF#000000##000000
##5186CD1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#688BD0
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5186cd;
/* rgb */ color: rgb(81, 134, 205);
/* oklch */ color: oklch(61.5% 0.122 256.2);
Tailwind
colors: {
  custom: {
    50: '#8ca8dc',
    500: '#5186cd',
    950: '#000000',
  },
}
SCSS
$custom: #5186cd;
$custom-light: #8ca8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5186cd",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 214.355,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6153,
    "c": 0.12238,
    "h": 256.2
  },
  "luminance": 0.23207
}

Semantic roles & 50–950 ramp

primary
#5186CD
secondary
#D7C1A3
accent
#9F49DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5186CD

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

Preview Lab → · Contrast checker → · Palette generator →

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