#5188CD#5188CD

#5188CD is a mid, vivid cyan. Relative luminance 0.238; OKLCH L 62.0% C 0.120 H 254.9°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5188CD
RGBrgb(81, 136, 205)
HSLhsl(213, 55%, 56%)
HSVhsv(213, 60%, 80%)
CMYKcmyk(60.5%, 33.7%, 0%, 19.6%)
CIE-LABlab(55.85, 2.84, -41.09)
CIE-LCHlch(55.85, 41.19, 273.95°)
OKLaboklab(61.97% -0.0313 -0.1162)
OKLCHoklch(61.97% 0.12 254.9)
XYZxyz(23.2130, 23.7633, 61.1093)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188CD #CD9651
analogous
#51C6CD #5188CD #5851CD
triadic
#5188CD #CD5188 #88CD51
tetradic
#5188CD #CD51C6 #CD9651 #51CD58
square
#5188CD #CD51C6 #CD9651 #51CD58
split-complementary
#5188CD #CD5851 #C6CD51
monochromatic
#254D7F #3269AF #5188CD #81A9DB #B0C9E8

Accessibility & contrast

On white

3.65
#5188CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5188CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188CD#FFFFFF#000000##000000
##5188CD1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CD0
Deuteranopia (green-blind)
#5A80CC
Tritanopia (blue-blind)
#0098A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5188cd;
/* rgb */ color: rgb(81, 136, 205);
/* oklch */ color: oklch(62.0% 0.120 254.9);
Tailwind
colors: {
  custom: {
    50: '#8caadc',
    500: '#5188cd',
    950: '#000000',
  },
}
SCSS
$custom: #5188cd;
$custom-light: #8caadc;
$custom-dark: #000000;
JSON
{
  "hex": "#5188cd",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 205
  },
  "hsl": {
    "h": 213.387,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61973,
    "c": 0.12037,
    "h": 254.9
  },
  "luminance": 0.23765
}

Semantic roles & 50–950 ramp

primary
#5188CD
secondary
#D7C0A3
accent
#9C49DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5188CD

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

Preview Lab → · Contrast checker → · Palette generator →

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