#5188C8#5188C8

#5188C8 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.7% C 0.114 H 253.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5188C8
RGBrgb(81, 136, 200)
HSLhsl(212, 52%, 55%)
HSVhsv(212, 60%, 78%)
CMYKcmyk(59.5%, 32%, 0%, 21.6%)
CIE-LABlab(55.61, 1.19, -38.64)
CIE-LCHlch(55.61, 38.66, 271.76°)
OKLaboklab(61.71% -0.0327 -0.1091)
OKLCHoklch(61.71% 0.114 253.3)
XYZxyz(22.6191, 23.5258, 57.9813)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188C8 #C89151
analogous
#51C3C8 #5188C8 #5651C8
triadic
#5188C8 #C85188 #88C851
tetradic
#5188C8 #C851C3 #C89151 #51C856
square
#5188C8 #C851C3 #C89151 #51C856
split-complementary
#5188C8 #C85651 #C3C851
monochromatic
#264C79 #356AA7 #5188C8 #80A8D7 #AEC8E5

Accessibility & contrast

On white

3.68
#5188C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5188C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188C8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188C8#FFFFFF#000000##000000
##5188C81.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)
#6D8CCB
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#00979F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5188c8;
/* rgb */ color: rgb(81, 136, 200);
/* oklch */ color: oklch(61.7% 0.114 253.3);
Tailwind
colors: {
  custom: {
    50: '#8baad9',
    500: '#5188c8',
    950: '#000000',
  },
}
SCSS
$custom: #5188c8;
$custom-light: #8baad9;
$custom-dark: #000000;
JSON
{
  "hex": "#5188c8",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 200
  },
  "hsl": {
    "h": 212.269,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61706,
    "c": 0.11388,
    "h": 253.3
  },
  "luminance": 0.23528
}

Semantic roles & 50–950 ramp

primary
#5188C8
secondary
#D3BCA1
accent
#994CDB
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5188C8

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

Preview Lab → · Contrast checker → · Palette generator →

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