#5185CD#5185CD

#5185CD is a mid, vivid cyan. Relative luminance 0.229; OKLCH L 61.3% C 0.123 H 256.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5185CD
RGBrgb(81, 133, 205)
HSLhsl(215, 55%, 56%)
HSVhsv(215, 60%, 80%)
CMYKcmyk(60.5%, 35.1%, 0%, 19.6%)
CIE-LABlab(55.00, 4.62, -42.43)
CIE-LCHlch(55.00, 42.68, 276.21°)
OKLaboklab(61.31% -0.0281 -0.1202)
OKLCHoklch(61.31% 0.123 256.8)
XYZxyz(22.7964, 22.9301, 60.9704)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185CD #CD9951
analogous
#51C3CD #5185CD #5B51CD
triadic
#5185CD #CD5185 #85CD51
tetradic
#5185CD #CD51C3 #CD9951 #51CD5B
square
#5185CD #CD51C3 #CD9951 #51CD5B
split-complementary
#5185CD #CD5B51 #C3CD51
monochromatic
#254A7F #3266AF #5185CD #81A6DB #B0C8E8

Accessibility & contrast

On white

3.76
#5185CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5185CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185CD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185CD#FFFFFF#000000##000000
##5185CD1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#678AD0
Deuteranopia (green-blind)
#567ECC
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5185cd;
/* rgb */ color: rgb(81, 133, 205);
/* oklch */ color: oklch(61.3% 0.123 256.8);
Tailwind
colors: {
  custom: {
    50: '#8ca8dc',
    500: '#5185cd',
    950: '#000000',
  },
}
SCSS
$custom: #5185cd;
$custom-light: #8ca8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5185cd",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 205
  },
  "hsl": {
    "h": 214.839,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61309,
    "c": 0.1234,
    "h": 256.8
  },
  "luminance": 0.22932
}

Semantic roles & 50–950 ramp

primary
#5185CD
secondary
#D7C1A3
accent
#A049DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5185CD

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

Preview Lab → · Contrast checker → · Palette generator →

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