#5188CB#5188CB

#5188CB is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.9% C 0.118 H 254.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5188CB
RGBrgb(81, 136, 203)
HSLhsl(213, 54%, 56%)
HSVhsv(213, 60%, 80%)
CMYKcmyk(60.1%, 33%, 0%, 20.4%)
CIE-LABlab(55.75, 2.18, -40.12)
CIE-LCHlch(55.75, 40.17, 273.10°)
OKLaboklab(61.87% -0.0319 -0.1134)
OKLCHoklch(61.87% 0.118 254.3)
XYZxyz(22.9731, 23.6674, 59.8459)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188CB #CB9451
analogous
#51C5CB #5188CB #5751CB
triadic
#5188CB #CB5188 #88CB51
tetradic
#5188CB #CB51C5 #CB9451 #51CB57
square
#5188CB #CB51C5 #CB9451 #51CB57
split-complementary
#5188CB #CB5751 #C5CB51
monochromatic
#254D7C #3369AC #5188CB #80A8D9 #AFC8E7

Accessibility & contrast

On white

3.66
#5188CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#5188CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188CB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188CB#FFFFFF#000000##000000
##5188CB1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCE
Deuteranopia (green-blind)
#5C80CA
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5188cb;
/* rgb */ color: rgb(81, 136, 203);
/* oklch */ color: oklch(61.9% 0.118 254.3);
Tailwind
colors: {
  custom: {
    50: '#8caadb',
    500: '#5188cb',
    950: '#000000',
  },
}
SCSS
$custom: #5188cb;
$custom-light: #8caadb;
$custom-dark: #000000;
JSON
{
  "hex": "#5188cb",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 203
  },
  "hsl": {
    "h": 212.951,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61865,
    "c": 0.11776,
    "h": 254.3
  },
  "luminance": 0.23669
}

Semantic roles & 50–950 ramp

primary
#5188CB
secondary
#D5BEA3
accent
#9B4ADD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5188CB

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

Preview Lab → · Contrast checker → · Palette generator →

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