#5184DF#5184DF

#5184DF is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.1% C 0.149 H 261.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5184DF
RGBrgb(81, 132, 223)
HSLhsl(218, 69%, 60%)
HSVhsv(218, 64%, 87%)
CMYKcmyk(63.7%, 40.8%, 0%, 12.5%)
CIE-LABlab(55.66, 11.30, -51.52)
CIE-LCHlch(55.66, 52.74, 282.37°)
OKLaboklab(62.13% -0.023 -0.1467)
OKLCHoklch(62.13% 0.149 261.1)
XYZxyz(24.9592, 23.5772, 73.0333)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184DF #DFAC51
analogous
#51CBDF #5184DF #6551DF
triadic
#5184DF #DF5184 #84DF51
tetradic
#5184DF #DF51CB #DFAC51 #51DF65
square
#5184DF #DF51CB #DFAC51 #51DF65
split-complementary
#5184DF #DF6551 #CBDF51
monochromatic
#1C4999 #2662CD #5184DF #85A9E9 #B8CDF2

Accessibility & contrast

On white

3.67
#5184DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5184DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184DF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184DF#FFFFFF#000000##000000
##5184DF1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8CE3
Deuteranopia (green-blind)
#467FDD
Tritanopia (blue-blind)
#0099A7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5184df;
/* rgb */ color: rgb(81, 132, 223);
/* oklch */ color: oklch(62.1% 0.149 261.1);
Tailwind
colors: {
  custom: {
    50: '#8fa7e9',
    500: '#5184df',
    950: '#000000',
  },
}
SCSS
$custom: #5184df;
$custom-light: #8fa7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5184df",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 223
  },
  "hsl": {
    "h": 218.451,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6213,
    "c": 0.14854,
    "h": 261.1
  },
  "luminance": 0.2358
}

Semantic roles & 50–950 ramp

primary
#5184DF
secondary
#E1CEAA
accent
#AD3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5184DF

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

Preview Lab → · Contrast checker → · Palette generator →

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