#5186CE#5186CE

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

Color values

HEX#5186CE
RGBrgb(81, 134, 206)
HSLhsl(215, 56%, 56%)
HSVhsv(215, 61%, 81%)
CMYKcmyk(60.7%, 35%, 0%, 19.2%)
CIE-LABlab(55.33, 4.36, -42.47)
CIE-LCHlch(55.33, 42.70, 275.86°)
OKLaboklab(61.59% -0.0289 -0.1203)
OKLCHoklch(61.59% 0.124 256.5)
XYZxyz(23.0551, 23.2537, 61.6540)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186CE #CE9951
analogous
#51C5CE #5186CE #5B51CE
triadic
#5186CE #CE5186 #86CE51
tetradic
#5186CE #CE51C5 #CE9951 #51CE5B
square
#5186CE #CE51C5 #CE9951 #51CE5B
split-complementary
#5186CE #CE5B51 #C5CE51
monochromatic
#244B80 #3267B0 #5186CE #81A7DB #B1C8E9

Accessibility & contrast

On white

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

On black

5.65
#5186CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186CE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186CE#FFFFFF#000000##000000
##5186CE1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#678BD1
Deuteranopia (green-blind)
#577FCD
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5186ce;
/* rgb */ color: rgb(81, 134, 206);
/* oklch */ color: oklch(61.6% 0.124 256.5);
Tailwind
colors: {
  custom: {
    50: '#8ca8dd',
    500: '#5186ce',
    950: '#000000',
  },
}
SCSS
$custom: #5186ce;
$custom-light: #8ca8dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5186ce",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 206
  },
  "hsl": {
    "h": 214.56,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61585,
    "c": 0.1237,
    "h": 256.5
  },
  "luminance": 0.23256
}

Semantic roles & 50–950 ramp

primary
#5186CE
secondary
#D7C1A4
accent
#9F48DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5186CE

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

Preview Lab → · Contrast checker → · Palette generator →

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