#5185C8#5185C8

#5185C8 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 61.0% C 0.117 H 255.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5185C8
RGBrgb(81, 133, 200)
HSLhsl(214, 52%, 55%)
HSVhsv(214, 60%, 78%)
CMYKcmyk(59.5%, 33.5%, 0%, 21.6%)
CIE-LABlab(54.75, 2.96, -39.99)
CIE-LCHlch(54.75, 40.10, 274.23°)
OKLaboklab(61.04% -0.0294 -0.113)
OKLCHoklch(61.04% 0.117 255.4)
XYZxyz(22.2025, 22.6926, 57.8424)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185C8 #C89451
analogous
#51C0C8 #5185C8 #5951C8
triadic
#5185C8 #C85185 #85C851
tetradic
#5185C8 #C851C0 #C89451 #51C859
square
#5185C8 #C851C0 #C89451 #51C859
split-complementary
#5185C8 #C85951 #C0C851
monochromatic
#264A79 #3567A7 #5185C8 #80A6D7 #AEC6E5

Accessibility & contrast

On white

3.79
#5185C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5185C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185C8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185C8#FFFFFF#000000##000000
##5185C81.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6989CB
Deuteranopia (green-blind)
#597EC7
Tritanopia (blue-blind)
#00949D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5185c8;
/* rgb */ color: rgb(81, 133, 200);
/* oklch */ color: oklch(61.0% 0.117 255.4);
Tailwind
colors: {
  custom: {
    50: '#8ba8d9',
    500: '#5185c8',
    950: '#000000',
  },
}
SCSS
$custom: #5185c8;
$custom-light: #8ba8d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5185c8",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 200
  },
  "hsl": {
    "h": 213.782,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61037,
    "c": 0.1168,
    "h": 255.4
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

primary
#5185C8
secondary
#D3BEA1
accent
#9D4CDB
background
#F9FAFD
surface
#F1F4FA
border
#CBCED3
text
#0D0F14
muted
#7E7F83

Preview Lab

Preview with #5185C8

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

Preview Lab → · Contrast checker → · Palette generator →

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