#5186CB#5186CB

#5186CB is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.4% C 0.120 H 255.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5186CB
RGBrgb(81, 134, 203)
HSLhsl(214, 54%, 56%)
HSVhsv(214, 60%, 80%)
CMYKcmyk(60.1%, 34%, 0%, 20.4%)
CIE-LABlab(55.18, 3.36, -41.01)
CIE-LCHlch(55.18, 41.15, 274.68°)
OKLaboklab(61.42% -0.0297 -0.116)
OKLCHoklch(61.42% 0.12 255.6)
XYZxyz(22.6941, 23.1093, 59.7529)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186CB #CB9651
analogous
#51C3CB #5186CB #5951CB
triadic
#5186CB #CB5186 #86CB51
tetradic
#5186CB #CB51C3 #CB9651 #51CB59
square
#5186CB #CB51C3 #CB9651 #51CB59
split-complementary
#5186CB #CB5951 #C3CB51
monochromatic
#254B7C #3368AC #5186CB #80A7D9 #AFC8E7

Accessibility & contrast

On white

3.74
#5186CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5186CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186CB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186CB#FFFFFF#000000##000000
##5186CB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACE
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5186cb;
/* rgb */ color: rgb(81, 134, 203);
/* oklch */ color: oklch(61.4% 0.120 255.6);
Tailwind
colors: {
  custom: {
    50: '#8ca8db',
    500: '#5186cb',
    950: '#000000',
  },
}
SCSS
$custom: #5186cb;
$custom-light: #8ca8db;
$custom-dark: #000000;
JSON
{
  "hex": "#5186cb",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 213.934,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61421,
    "c": 0.11974,
    "h": 255.6
  },
  "luminance": 0.23111
}

Semantic roles & 50–950 ramp

primary
#5186CB
secondary
#D5BFA3
accent
#9E4ADD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5186CB

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

Preview Lab → · Contrast checker → · Palette generator →

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