#5184DA#5184DA

#5184DA is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.8% C 0.142 H 260.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5184DA
RGBrgb(81, 132, 218)
HSLhsl(218, 65%, 59%)
HSVhsv(218, 63%, 85%)
CMYKcmyk(62.8%, 39.4%, 0%, 14.5%)
CIE-LABlab(55.39, 9.60, -49.14)
CIE-LCHlch(55.39, 50.07, 281.05°)
OKLaboklab(61.83% -0.024 -0.1398)
OKLCHoklch(61.83% 0.142 260.2)
XYZxyz(24.2950, 23.3116, 69.5353)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184DA #DAA751
analogous
#51C9DA #5184DA #6251DA
triadic
#5184DA #DA5184 #84DA51
tetradic
#5184DA #DA51C9 #DAA751 #51DA62
square
#5184DA #DA51C9 #DAA751 #51DA62
split-complementary
#5184DA #DA6251 #C9DA51
monochromatic
#1F4A92 #2A63C4 #5184DA #83A8E5 #B6CBEF

Accessibility & contrast

On white

3.71
#5184DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5184DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184DA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184DA#FFFFFF#000000##000000
##5184DA1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8CDD
Deuteranopia (green-blind)
#4A7FD8
Tritanopia (blue-blind)
#0098A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5184da;
/* rgb */ color: rgb(81, 132, 218);
/* oklch */ color: oklch(61.8% 0.142 260.2);
Tailwind
colors: {
  custom: {
    50: '#8ea7e6',
    500: '#5184da',
    950: '#000000',
  },
}
SCSS
$custom: #5184da;
$custom-light: #8ea7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5184da",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 218
  },
  "hsl": {
    "h": 217.664,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61833,
    "c": 0.14184,
    "h": 260.2
  },
  "luminance": 0.23314
}

Semantic roles & 50–950 ramp

primary
#5184DA
secondary
#DECAA8
accent
#A940E8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5184DA

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

Preview Lab → · Contrast checker → · Palette generator →

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