#5186CA#5186CA

#5186CA is a mid, moderate cyan. Relative luminance 0.231; OKLCH L 61.4% C 0.118 H 255.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5186CA
RGBrgb(81, 134, 202)
HSLhsl(214, 53%, 55%)
HSVhsv(214, 60%, 79%)
CMYKcmyk(59.9%, 33.7%, 0%, 20.8%)
CIE-LABlab(55.14, 3.03, -40.52)
CIE-LCHlch(55.14, 40.63, 274.27°)
OKLaboklab(61.37% -0.03 -0.1146)
OKLCHoklch(61.37% 0.118 255.3)
XYZxyz(22.5753, 23.0618, 59.1273)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186CA #CA9551
analogous
#51C2CA #5186CA #5851CA
triadic
#5186CA #CA5186 #86CA51
tetradic
#5186CA #CA51C2 #CA9551 #51CA58
square
#5186CA #CA51C2 #CA9551 #51CA58
split-complementary
#5186CA #CA5851 #C2CA51
monochromatic
#254B7B #3468AA #5186CA #80A7D8 #AFC7E7

Accessibility & contrast

On white

3.74
#5186CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5186CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186CA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186CA#FFFFFF#000000##000000
##5186CA1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5186ca;
/* rgb */ color: rgb(81, 134, 202);
/* oklch */ color: oklch(61.4% 0.118 255.3);
Tailwind
colors: {
  custom: {
    50: '#8ca8da',
    500: '#5186ca',
    950: '#000000',
  },
}
SCSS
$custom: #5186ca;
$custom-light: #8ca8da;
$custom-dark: #000000;
JSON
{
  "hex": "#5186ca",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 213.719,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61367,
    "c": 0.11843,
    "h": 255.3
  },
  "luminance": 0.23064
}

Semantic roles & 50–950 ramp

primary
#5186CA
secondary
#D5BFA2
accent
#9D4BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5186CA

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

Preview Lab → · Contrast checker → · Palette generator →

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