#5184CC#5184CC

#5184CC is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.0% C 0.123 H 257.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5184CC
RGBrgb(81, 132, 204)
HSLhsl(215, 55%, 56%)
HSVhsv(215, 60%, 80%)
CMYKcmyk(60.3%, 35.3%, 0%, 20%)
CIE-LABlab(54.67, 4.88, -42.39)
CIE-LCHlch(54.67, 42.67, 276.57°)
OKLaboklab(61.03% -0.0273 -0.12)
OKLCHoklch(61.03% 0.123 257.2)
XYZxyz(22.5398, 22.6095, 60.2913)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184CC #CC9951
analogous
#51C1CC #5184CC #5B51CC
triadic
#5184CC #CC5184 #84CC51
tetradic
#5184CC #CC51C1 #CC9951 #51CC5B
square
#5184CC #CC51C1 #CC9951 #51CC5B
split-complementary
#5184CC #CC5B51 #C1CC51
monochromatic
#254A7E #3365AD #5184CC #80A5DA #B0C7E8

Accessibility & contrast

On white

3.80
#5184CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5184CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184CC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184CC#FFFFFF#000000##000000
##5184CC1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6689CF
Deuteranopia (green-blind)
#557DCB
Tritanopia (blue-blind)
#00949E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5184cc;
/* rgb */ color: rgb(81, 132, 204);
/* oklch */ color: oklch(61.0% 0.123 257.2);
Tailwind
colors: {
  custom: {
    50: '#8ca7dc',
    500: '#5184cc',
    950: '#000000',
  },
}
SCSS
$custom: #5184cc;
$custom-light: #8ca7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5184cc",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 204
  },
  "hsl": {
    "h": 215.122,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61034,
    "c": 0.12311,
    "h": 257.2
  },
  "luminance": 0.22611
}

Semantic roles & 50–950 ramp

primary
#5184CC
secondary
#D6C1A3
accent
#A14ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5184CC

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

Preview Lab → · Contrast checker → · Palette generator →

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