#5187CD#5187CD

#5187CD is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.8% C 0.121 H 255.6°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5187CD
RGBrgb(81, 135, 205)
HSLhsl(214, 55%, 56%)
HSVhsv(214, 60%, 80%)
CMYKcmyk(60.5%, 34.1%, 0%, 19.6%)
CIE-LABlab(55.57, 3.43, -41.54)
CIE-LCHlch(55.57, 41.68, 274.72°)
OKLaboklab(61.75% -0.0303 -0.1175)
OKLCHoklch(61.75% 0.121 255.6)
XYZxyz(23.0728, 23.4830, 61.0625)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5187CD #CD9751
analogous
#51C5CD #5187CD #5951CD
triadic
#5187CD #CD5187 #87CD51
tetradic
#5187CD #CD51C5 #CD9751 #51CD59
square
#5187CD #CD51C5 #CD9751 #51CD59
split-complementary
#5187CD #CD5951 #C5CD51
monochromatic
#254C7F #3268AF #5187CD #81A8DB #B0C9E8

Accessibility & contrast

On white

3.69
#5187CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5187CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5187CD
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5187CD#FFFFFF#000000##000000
##5187CD1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD0
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5187cd;
/* rgb */ color: rgb(81, 135, 205);
/* oklch */ color: oklch(61.8% 0.121 255.6);
Tailwind
colors: {
  custom: {
    50: '#8ca9dc',
    500: '#5187cd',
    950: '#000000',
  },
}
SCSS
$custom: #5187cd;
$custom-light: #8ca9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5187cd",
  "rgb": {
    "r": 81,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 213.871,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61751,
    "c": 0.12136,
    "h": 255.6
  },
  "luminance": 0.23485
}

Semantic roles & 50–950 ramp

primary
#5187CD
secondary
#D7C0A3
accent
#9E49DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5187CD

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

Preview Lab → · Contrast checker → · Palette generator →

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