#5184C8#5184C8

#5184C8 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.8% C 0.118 H 256.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5184C8
RGBrgb(81, 132, 200)
HSLhsl(214, 52%, 55%)
HSVhsv(214, 60%, 78%)
CMYKcmyk(59.5%, 34%, 0%, 21.6%)
CIE-LABlab(54.47, 3.55, -40.44)
CIE-LCHlch(54.47, 40.59, 275.02°)
OKLaboklab(60.82% -0.0283 -0.1143)
OKLCHoklch(60.82% 0.118 256.1)
XYZxyz(22.0662, 22.4200, 57.7970)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184C8 #C89551
analogous
#51BFC8 #5184C8 #5A51C8
triadic
#5184C8 #C85184 #84C851
tetradic
#5184C8 #C851BF #C89551 #51C85A
square
#5184C8 #C851BF #C89551 #51C85A
split-complementary
#5184C8 #C85A51 #BFC851
monochromatic
#264979 #3566A7 #5184C8 #80A5D7 #AEC6E5

Accessibility & contrast

On white

3.83
#5184C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5184C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184C8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184C8#FFFFFF#000000##000000
##5184C81.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6888CB
Deuteranopia (green-blind)
#587DC7
Tritanopia (blue-blind)
#00939D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5184c8;
/* rgb */ color: rgb(81, 132, 200);
/* oklch */ color: oklch(60.8% 0.118 256.1);
Tailwind
colors: {
  custom: {
    50: '#8ba7d9',
    500: '#5184c8',
    950: '#000000',
  },
}
SCSS
$custom: #5184c8;
$custom-light: #8ba7d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5184c8",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 200
  },
  "hsl": {
    "h": 214.286,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60815,
    "c": 0.1178,
    "h": 256.1
  },
  "luminance": 0.22422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5184C8

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

Preview Lab → · Contrast checker → · Palette generator →

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