#5186C8#5186C8

#5186C8 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 61.3% C 0.116 H 254.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5186C8
RGBrgb(81, 134, 200)
HSLhsl(213, 52%, 55%)
HSVhsv(213, 60%, 78%)
CMYKcmyk(59.5%, 33%, 0%, 21.6%)
CIE-LABlab(55.04, 2.37, -39.54)
CIE-LCHlch(55.04, 39.61, 273.42°)
OKLaboklab(61.26% -0.0305 -0.1117)
OKLCHoklch(61.26% 0.116 254.7)
XYZxyz(22.3400, 22.9677, 57.8883)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186C8 #C89351
analogous
#51C2C8 #5186C8 #5751C8
triadic
#5186C8 #C85186 #86C851
tetradic
#5186C8 #C851C2 #C89351 #51C857
square
#5186C8 #C851C2 #C89351 #51C857
split-complementary
#5186C8 #C85751 #C2C851
monochromatic
#264B79 #3568A7 #5186C8 #80A6D7 #AEC7E5

Accessibility & contrast

On white

3.75
#5186C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5186C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186C8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186C8#FFFFFF#000000##000000
##5186C81.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ACB
Deuteranopia (green-blind)
#5B7FC7
Tritanopia (blue-blind)
#00959E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5186c8;
/* rgb */ color: rgb(81, 134, 200);
/* oklch */ color: oklch(61.3% 0.116 254.7);
Tailwind
colors: {
  custom: {
    50: '#8ba8d9',
    500: '#5186c8',
    950: '#000000',
  },
}
SCSS
$custom: #5186c8;
$custom-light: #8ba8d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5186c8",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 200
  },
  "hsl": {
    "h": 213.277,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61259,
    "c": 0.11581,
    "h": 254.7
  },
  "luminance": 0.2297
}

Semantic roles & 50–950 ramp

primary
#5186C8
secondary
#D3BDA1
accent
#9C4CDB
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5186C8

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

Preview Lab → · Contrast checker → · Palette generator →

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