#5186BC#5186BC

#5186BC is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.6% C 0.100 H 250.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5186BC
RGBrgb(81, 134, 188)
HSLhsl(210, 44%, 53%)
HSVhsv(210, 57%, 74%)
CMYKcmyk(56.9%, 28.7%, 0%, 26.3%)
CIE-LABlab(54.48, -1.55, -33.59)
CIE-LCHlch(54.48, 33.63, 267.35°)
OKLaboklab(60.64% -0.034 -0.0945)
OKLCHoklch(60.64% 0.1 250.2)
XYZxyz(20.9923, 22.4286, 50.7901)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186BC #BC8751
analogous
#51BCBC #5186BC #5151BC
triadic
#5186BC #BC5186 #86BC51
tetradic
#5186BC #BC51BC #BC8751 #51BC51
square
#5186BC #BC51BC #BC8751 #51BC51
split-complementary
#5186BC #BC5151 #BCBC51
monochromatic
#29496A #3A6796 #5186BC #7DA5CD #A9C3DE

Accessibility & contrast

On white

3.83
#5186BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5186BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186BC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186BC#FFFFFF#000000##000000
##5186BC1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BE
Deuteranopia (green-blind)
#617EBB
Tritanopia (blue-blind)
#009399
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5186bc;
/* rgb */ color: rgb(81, 134, 188);
/* oklch */ color: oklch(60.6% 0.100 250.2);
Tailwind
colors: {
  custom: {
    50: '#8aa9d0',
    500: '#5186bc',
    950: '#000000',
  },
}
SCSS
$custom: #5186bc;
$custom-light: #8aa9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5186bc",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 188
  },
  "hsl": {
    "h": 210.28,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60636,
    "c": 0.10038,
    "h": 250.2
  },
  "luminance": 0.2243
}

Semantic roles & 50–950 ramp

primary
#5186BC
secondary
#CCB59D
accent
#9454D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5186BC

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

Preview Lab → · Contrast checker → · Palette generator →

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