#5185CC#5185CC

#5185CC is a mid, vivid cyan. Relative luminance 0.229; OKLCH L 61.3% C 0.122 H 256.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5185CC
RGBrgb(81, 133, 204)
HSLhsl(215, 55%, 56%)
HSVhsv(215, 60%, 80%)
CMYKcmyk(60.3%, 34.8%, 0%, 20%)
CIE-LABlab(54.95, 4.29, -41.95)
CIE-LCHlch(54.95, 42.16, 275.84°)
OKLaboklab(61.25% -0.0284 -0.1187)
OKLCHoklch(61.25% 0.122 256.6)
XYZxyz(22.6761, 22.8820, 60.3367)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185CC #CC9851
analogous
#51C3CC #5185CC #5A51CC
triadic
#5185CC #CC5185 #85CC51
tetradic
#5185CC #CC51C3 #CC9851 #51CC5A
square
#5185CC #CC51C3 #CC9851 #51CC5A
split-complementary
#5185CC #CC5A51 #C3CC51
monochromatic
#254A7E #3366AD #5185CC #80A6DA #B0C7E8

Accessibility & contrast

On white

3.77
#5185CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5185CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185CC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185CC#FFFFFF#000000##000000
##5185CC1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#678ACF
Deuteranopia (green-blind)
#577ECB
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5185cc;
/* rgb */ color: rgb(81, 133, 204);
/* oklch */ color: oklch(61.3% 0.122 256.6);
Tailwind
colors: {
  custom: {
    50: '#8ca8dc',
    500: '#5185cc',
    950: '#000000',
  },
}
SCSS
$custom: #5185cc;
$custom-light: #8ca8dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5185cc",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 204
  },
  "hsl": {
    "h": 214.634,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.12208,
    "h": 256.6
  },
  "luminance": 0.22884
}

Semantic roles & 50–950 ramp

primary
#5185CC
secondary
#D6C0A3
accent
#9F4ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5185CC

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

Preview Lab → · Contrast checker → · Palette generator →

#5185CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva