#5187CE#5187CE

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

Color values

HEX#5187CE
RGBrgb(81, 135, 206)
HSLhsl(214, 56%, 56%)
HSVhsv(214, 61%, 81%)
CMYKcmyk(60.7%, 34.5%, 0%, 19.2%)
CIE-LABlab(55.62, 3.76, -42.03)
CIE-LCHlch(55.62, 42.20, 275.12°)
OKLaboklab(61.81% -0.03 -0.1189)
OKLCHoklch(61.81% 0.123 255.8)
XYZxyz(23.1939, 23.5314, 61.7003)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5187CE #CE9851
analogous
#51C6CE #5187CE #5A51CE
triadic
#5187CE #CE5187 #87CE51
tetradic
#5187CE #CE51C6 #CE9851 #51CE5A
square
#5187CE #CE51C6 #CE9851 #51CE5A
split-complementary
#5187CE #CE5A51 #C6CE51
monochromatic
#244C80 #3268B0 #5187CE #81A8DB #B1C9E9

Accessibility & contrast

On white

3.68
#5187CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5187CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5187CE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5187CE#FFFFFF#000000##000000
##5187CE1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD1
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5187ce;
/* rgb */ color: rgb(81, 135, 206);
/* oklch */ color: oklch(61.8% 0.123 255.8);
Tailwind
colors: {
  custom: {
    50: '#8ca9dd',
    500: '#5187ce',
    950: '#000000',
  },
}
SCSS
$custom: #5187ce;
$custom-light: #8ca9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5187ce",
  "rgb": {
    "r": 81,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 214.08,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61806,
    "c": 0.12267,
    "h": 255.8
  },
  "luminance": 0.23534
}

Semantic roles & 50–950 ramp

primary
#5187CE
secondary
#D7C1A4
accent
#9E48DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5187CE

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

Preview Lab → · Contrast checker → · Palette generator →

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