#5187CA#5187CA

#5187CA is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.6% C 0.117 H 254.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5187CA
RGBrgb(81, 135, 202)
HSLhsl(213, 53%, 55%)
HSVhsv(213, 60%, 79%)
CMYKcmyk(59.9%, 33.2%, 0%, 20.8%)
CIE-LABlab(55.42, 2.44, -40.07)
CIE-LCHlch(55.42, 40.15, 273.48°)
OKLaboklab(61.59% -0.0311 -0.1133)
OKLCHoklch(61.59% 0.117 254.7)
XYZxyz(22.7142, 23.3395, 59.1736)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5187CA #CA9451
analogous
#51C4CA #5187CA #5751CA
triadic
#5187CA #CA5187 #87CA51
tetradic
#5187CA #CA51C4 #CA9451 #51CA57
square
#5187CA #CA51C4 #CA9451 #51CA57
split-complementary
#5187CA #CA5751 #C4CA51
monochromatic
#254C7B #3469AA #5187CA #80A7D8 #AFC8E7

Accessibility & contrast

On white

3.70
#5187CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#5187CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5187CA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5187CA#FFFFFF#000000##000000
##5187CA1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCD
Deuteranopia (green-blind)
#5B7FC9
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5187ca;
/* rgb */ color: rgb(81, 135, 202);
/* oklch */ color: oklch(61.6% 0.117 254.7);
Tailwind
colors: {
  custom: {
    50: '#8ca9da',
    500: '#5187ca',
    950: '#000000',
  },
}
SCSS
$custom: #5187ca;
$custom-light: #8ca9da;
$custom-dark: #000000;
JSON
{
  "hex": "#5187ca",
  "rgb": {
    "r": 81,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 213.223,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61589,
    "c": 0.11744,
    "h": 254.7
  },
  "luminance": 0.23342
}

Semantic roles & 50–950 ramp

primary
#5187CA
secondary
#D5BEA2
accent
#9C4BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5187CA

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

Preview Lab → · Contrast checker → · Palette generator →

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