#5185BD#5185BD

#5185BD is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.5% C 0.103 H 251.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5185BD
RGBrgb(81, 133, 189)
HSLhsl(211, 45%, 53%)
HSVhsv(211, 57%, 74%)
CMYKcmyk(57.1%, 29.6%, 0%, 25.9%)
CIE-LABlab(54.24, -0.64, -34.55)
CIE-LCHlch(54.24, 34.55, 268.93°)
OKLaboklab(60.46% -0.0325 -0.0972)
OKLCHoklch(60.46% 0.103 251.5)
XYZxyz(20.9629, 22.1967, 51.3139)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185BD #BD8951
analogous
#51BBBD #5185BD #5351BD
triadic
#5185BD #BD5185 #85BD51
tetradic
#5185BD #BD51BB #BD8951 #51BD53
square
#5185BD #BD51BB #BD8951 #51BD53
split-complementary
#5185BD #BD5351 #BBBD51
monochromatic
#29496B #396797 #5185BD #7DA4CE #AAC3DF

Accessibility & contrast

On white

3.86
#5185BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5185BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185BD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185BD#FFFFFF#000000##000000
##5185BD1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88BF
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#009299
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5185bd;
/* rgb */ color: rgb(81, 133, 189);
/* oklch */ color: oklch(60.5% 0.103 251.5);
Tailwind
colors: {
  custom: {
    50: '#8aa8d1',
    500: '#5185bd',
    950: '#000000',
  },
}
SCSS
$custom: #5185bd;
$custom-light: #8aa8d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5185bd",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 189
  },
  "hsl": {
    "h": 211.111,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.10251,
    "h": 251.5
  },
  "luminance": 0.22199
}

Semantic roles & 50–950 ramp

primary
#5185BD
secondary
#CCB69E
accent
#9653D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #5185BD

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

Preview Lab → · Contrast checker → · Palette generator →

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