#5186BE#5186BE

#5186BE is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.7% C 0.103 H 251.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5186BE
RGBrgb(81, 134, 190)
HSLhsl(211, 46%, 53%)
HSVhsv(211, 57%, 75%)
CMYKcmyk(57.4%, 29.5%, 0%, 25.5%)
CIE-LABlab(54.57, -0.91, -34.59)
CIE-LCHlch(54.57, 34.60, 268.50°)
OKLaboklab(60.74% -0.0334 -0.0973)
OKLCHoklch(60.74% 0.103 251.1)
XYZxyz(21.2094, 22.5154, 51.9334)
Luminance0.2252 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186BE #BE8951
analogous
#51BCBE #5186BE #5251BE
triadic
#5186BE #BE5186 #86BE51
tetradic
#5186BE #BE51BC #BE8951 #51BE52
square
#5186BE #BE51BC #BE8951 #51BE52
split-complementary
#5186BE #BE5251 #BCBE51
monochromatic
#28496C #396899 #5186BE #7EA5CF #AAC4DF

Accessibility & contrast

On white

3.82
#5186BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5186BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186BE
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186BE#FFFFFF#000000##000000
##5186BE1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88C0
Deuteranopia (green-blind)
#607EBD
Tritanopia (blue-blind)
#00939A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5186be;
/* rgb */ color: rgb(81, 134, 190);
/* oklch */ color: oklch(60.7% 0.103 251.1);
Tailwind
colors: {
  custom: {
    50: '#8aa9d2',
    500: '#5186be',
    950: '#000000',
  },
}
SCSS
$custom: #5186be;
$custom-light: #8aa9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5186be",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 190
  },
  "hsl": {
    "h": 210.826,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60737,
    "c": 0.1029,
    "h": 251.1
  },
  "luminance": 0.22517
}

Semantic roles & 50–950 ramp

primary
#5186BE
secondary
#CDB69E
accent
#9653D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5186BE

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

Preview Lab → · Contrast checker → · Palette generator →

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