#5185CB#5185CB

#5185CB is a mid, vivid cyan. Relative luminance 0.228; OKLCH L 61.2% C 0.121 H 256.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5185CB
RGBrgb(81, 133, 203)
HSLhsl(214, 54%, 56%)
HSVhsv(214, 60%, 80%)
CMYKcmyk(60.1%, 34.5%, 0%, 20.4%)
CIE-LABlab(54.90, 3.95, -41.46)
CIE-LCHlch(54.90, 41.65, 275.45°)
OKLaboklab(61.2% -0.0286 -0.1173)
OKLCHoklch(61.2% 0.121 256.3)
XYZxyz(22.5565, 22.8342, 59.7071)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185CB #CB9751
analogous
#51C2CB #5185CB #5A51CB
triadic
#5185CB #CB5185 #85CB51
tetradic
#5185CB #CB51C2 #CB9751 #51CB5A
square
#5185CB #CB51C2 #CB9751 #51CB5A
split-complementary
#5185CB #CB5A51 #C2CB51
monochromatic
#254A7C #3367AC #5185CB #80A6D9 #AFC7E7

Accessibility & contrast

On white

3.77
#5185CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#5185CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185CB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185CB#FFFFFF#000000##000000
##5185CB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#00959E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5185cb;
/* rgb */ color: rgb(81, 133, 203);
/* oklch */ color: oklch(61.2% 0.121 256.3);
Tailwind
colors: {
  custom: {
    50: '#8ca8db',
    500: '#5185cb',
    950: '#000000',
  },
}
SCSS
$custom: #5185cb;
$custom-light: #8ca8db;
$custom-dark: #000000;
JSON
{
  "hex": "#5185cb",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 203
  },
  "hsl": {
    "h": 214.426,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.612,
    "c": 0.12075,
    "h": 256.3
  },
  "luminance": 0.22836
}

Semantic roles & 50–950 ramp

primary
#5185CB
secondary
#D5C0A3
accent
#9F4ADD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5185CB

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

Preview Lab → · Contrast checker → · Palette generator →

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