#5188CA#5188CA

#5188CA is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.8% C 0.116 H 254.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5188CA
RGBrgb(81, 136, 202)
HSLhsl(213, 53%, 55%)
HSVhsv(213, 60%, 79%)
CMYKcmyk(59.9%, 32.7%, 0%, 20.8%)
CIE-LABlab(55.71, 1.84, -39.63)
CIE-LCHlch(55.71, 39.67, 272.67°)
OKLaboklab(61.81% -0.0321 -0.1119)
OKLCHoklch(61.81% 0.116 254)
XYZxyz(22.8544, 23.6199, 59.2204)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5188CA #CA9351
analogous
#51C5CA #5188CA #5651CA
triadic
#5188CA #CA5188 #88CA51
tetradic
#5188CA #CA51C5 #CA9351 #51CA56
square
#5188CA #CA51C5 #CA9351 #51CA56
split-complementary
#5188CA #CA5651 #C5CA51
monochromatic
#254C7B #346AAA #5188CA #80A8D8 #AFC8E7

Accessibility & contrast

On white

3.67
#5188CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5188CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5188CA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5188CA#FFFFFF#000000##000000
##5188CA1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCD
Deuteranopia (green-blind)
#5C80C9
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5188ca;
/* rgb */ color: rgb(81, 136, 202);
/* oklch */ color: oklch(61.8% 0.116 254.0);
Tailwind
colors: {
  custom: {
    50: '#8caada',
    500: '#5188ca',
    950: '#000000',
  },
}
SCSS
$custom: #5188ca;
$custom-light: #8caada;
$custom-dark: #000000;
JSON
{
  "hex": "#5188ca",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 202
  },
  "hsl": {
    "h": 212.727,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61812,
    "c": 0.11647,
    "h": 254
  },
  "luminance": 0.23622
}

Semantic roles & 50–950 ramp

primary
#5188CA
secondary
#D5BEA2
accent
#9B4BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5188CA

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

Preview Lab → · Contrast checker → · Palette generator →

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