#5184CE#5184CE

#5184CE is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.1% C 0.126 H 257.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5184CE
RGBrgb(81, 132, 206)
HSLhsl(216, 56%, 56%)
HSVhsv(216, 61%, 81%)
CMYKcmyk(60.7%, 35.9%, 0%, 19.2%)
CIE-LABlab(54.77, 5.55, -43.37)
CIE-LCHlch(54.77, 43.72, 277.29°)
OKLaboklab(61.15% -0.0268 -0.1229)
OKLCHoklch(61.15% 0.126 257.7)
XYZxyz(22.7812, 22.7060, 61.5627)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184CE #CE9B51
analogous
#51C3CE #5184CE #5D51CE
triadic
#5184CE #CE5184 #84CE51
tetradic
#5184CE #CE51C3 #CE9B51 #51CE5D
square
#5184CE #CE51C3 #CE9B51 #51CE5D
split-complementary
#5184CE #CE5D51 #C3CE51
monochromatic
#244A80 #3265B0 #5184CE #81A6DB #B1C8E9

Accessibility & contrast

On white

3.79
#5184CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#5184CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184CE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184CE#FFFFFF#000000##000000
##5184CE1.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)
#6589D1
Deuteranopia (green-blind)
#547ECC
Tritanopia (blue-blind)
#00959F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5184ce;
/* rgb */ color: rgb(81, 132, 206);
/* oklch */ color: oklch(61.1% 0.126 257.7);
Tailwind
colors: {
  custom: {
    50: '#8ca7dd',
    500: '#5184ce',
    950: '#000000',
  },
}
SCSS
$custom: #5184ce;
$custom-light: #8ca7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5184ce",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 206
  },
  "hsl": {
    "h": 215.52,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.12578,
    "h": 257.7
  },
  "luminance": 0.22708
}

Semantic roles & 50–950 ramp

primary
#5184CE
secondary
#D7C2A4
accent
#A248DF
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5184CE

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

Preview Lab → · Contrast checker → · Palette generator →

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