#5184D9#5184D9

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

Color values

HEX#5184D9
RGBrgb(81, 132, 217)
HSLhsl(218, 64%, 58%)
HSVhsv(218, 63%, 85%)
CMYKcmyk(62.7%, 39.2%, 0%, 14.9%)
CIE-LABlab(55.34, 9.26, -48.66)
CIE-LCHlch(55.34, 49.54, 280.77°)
OKLaboklab(61.77% -0.0242 -0.1384)
OKLCHoklch(61.77% 0.141 260.1)
XYZxyz(24.1646, 23.2594, 68.8482)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184D9 #D9A651
analogous
#51C8D9 #5184D9 #6251D9
triadic
#5184D9 #D95184 #84D951
tetradic
#5184D9 #D951C8 #D9A651 #51D962
square
#5184D9 #D951C8 #D9A651 #51D962
split-complementary
#5184D9 #D96251 #C8D951
monochromatic
#1F4A90 #2A63C2 #5184D9 #83A8E4 #B5CBEF

Accessibility & contrast

On white

3.72
#5184D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5184D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184D9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184D9#FFFFFF#000000##000000
##5184D91.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8BDC
Deuteranopia (green-blind)
#4B7FD7
Tritanopia (blue-blind)
#0097A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5184d9;
/* rgb */ color: rgb(81, 132, 217);
/* oklch */ color: oklch(61.8% 0.141 260.1);
Tailwind
colors: {
  custom: {
    50: '#8ea7e5',
    500: '#5184d9',
    950: '#000000',
  },
}
SCSS
$custom: #5184d9;
$custom-light: #8ea7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5184d9",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 217
  },
  "hsl": {
    "h": 217.5,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.1405,
    "h": 260.1
  },
  "luminance": 0.23262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5184D9

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

Preview Lab → · Contrast checker → · Palette generator →

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