#5184DC#5184DC

#5184DC is a mid, vivid blue. Relative luminance 0.234; OKLCH L 62.0% C 0.145 H 260.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5184DC
RGBrgb(81, 132, 220)
HSLhsl(218, 67%, 59%)
HSVhsv(218, 63%, 86%)
CMYKcmyk(63.2%, 40%, 0%, 13.7%)
CIE-LABlab(55.50, 10.28, -50.09)
CIE-LCHlch(55.50, 51.14, 281.59°)
OKLaboklab(61.95% -0.0236 -0.1426)
OKLCHoklch(61.95% 0.145 260.6)
XYZxyz(24.5583, 23.4169, 70.9220)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184DC #DCA951
analogous
#51C9DC #5184DC #6451DC
triadic
#5184DC #DC5184 #84DC51
tetradic
#5184DC #DC51C9 #DCA951 #51DC64
square
#5184DC #DC51C9 #DCA951 #51DC64
split-complementary
#5184DC #DC6451 #C9DC51
monochromatic
#1E4995 #2863C8 #5184DC #84A8E6 #B7CCF0

Accessibility & contrast

On white

3.69
#5184DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5184DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184DC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184DC#FFFFFF#000000##000000
##5184DC1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CDF
Deuteranopia (green-blind)
#487FDA
Tritanopia (blue-blind)
#0098A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5184dc;
/* rgb */ color: rgb(81, 132, 220);
/* oklch */ color: oklch(62.0% 0.145 260.6);
Tailwind
colors: {
  custom: {
    50: '#8ea7e7',
    500: '#5184dc',
    950: '#000000',
  },
}
SCSS
$custom: #5184dc;
$custom-light: #8ea7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5184dc",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 220
  },
  "hsl": {
    "h": 217.986,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61951,
    "c": 0.14452,
    "h": 260.6
  },
  "luminance": 0.23419
}

Semantic roles & 50–950 ramp

primary
#5184DC
secondary
#E0CCA9
accent
#AB3EE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5184DC

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

Preview Lab → · Contrast checker → · Palette generator →

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