#5186BD#5186BD

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

Color values

HEX#5186BD
RGBrgb(81, 134, 189)
HSLhsl(211, 45%, 53%)
HSVhsv(211, 57%, 74%)
CMYKcmyk(57.1%, 29.1%, 0%, 25.9%)
CIE-LABlab(54.52, -1.23, -34.09)
CIE-LCHlch(54.52, 34.12, 267.93°)
OKLaboklab(60.69% -0.0337 -0.0959)
OKLCHoklch(60.69% 0.102 250.6)
XYZxyz(21.1005, 22.4718, 51.3598)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186BD #BD8851
analogous
#51BCBD #5186BD #5251BD
triadic
#5186BD #BD5186 #86BD51
tetradic
#5186BD #BD51BC #BD8851 #51BD52
square
#5186BD #BD51BC #BD8851 #51BD52
split-complementary
#5186BD #BD5251 #BCBD51
monochromatic
#29496B #396897 #5186BD #7DA5CE #AAC4DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5186BD#FFFFFF#000000##000000
##5186BD1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5186bd;
/* rgb */ color: rgb(81, 134, 189);
/* oklch */ color: oklch(60.7% 0.102 250.6);
Tailwind
colors: {
  custom: {
    50: '#8aa9d1',
    500: '#5186bd',
    950: '#000000',
  },
}
SCSS
$custom: #5186bd;
$custom-light: #8aa9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5186bd",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 189
  },
  "hsl": {
    "h": 210.556,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.10164,
    "h": 250.6
  },
  "luminance": 0.22474
}

Semantic roles & 50–950 ramp

primary
#5186BD
secondary
#CCB59E
accent
#9553D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5186BD

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

Preview Lab → · Contrast checker → · Palette generator →

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