#5184E1#5184E1

#5184E1 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.3% C 0.151 H 261.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5184E1
RGBrgb(81, 132, 225)
HSLhsl(219, 71%, 60%)
HSVhsv(219, 64%, 88%)
CMYKcmyk(64%, 41.3%, 0%, 11.8%)
CIE-LABlab(55.77, 11.98, -52.46)
CIE-LCHlch(55.77, 53.81, 282.86°)
OKLaboklab(62.25% -0.0226 -0.1495)
OKLCHoklch(62.25% 0.151 261.4)
XYZxyz(25.2304, 23.6857, 74.4617)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184E1 #E1AE51
analogous
#51CCE1 #5184E1 #6651E1
triadic
#5184E1 #E15184 #84E151
tetradic
#5184E1 #E151CC #E1AE51 #51E166
square
#5184E1 #E151CC #E1AE51 #51E166
split-complementary
#5184E1 #E16651 #CCE151
monochromatic
#1B499D #2461D1 #5184E1 #85A9EA #B9CEF3

Accessibility & contrast

On white

3.66
#5184E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5184E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184E1
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184E1#FFFFFF#000000##000000
##5184E11.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8DE5
Deuteranopia (green-blind)
#447FDF
Tritanopia (blue-blind)
#0099A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5184e1;
/* rgb */ color: rgb(81, 132, 225);
/* oklch */ color: oklch(62.3% 0.151 261.4);
Tailwind
colors: {
  custom: {
    50: '#8fa7eb',
    500: '#5184e1',
    950: '#000000',
  },
}
SCSS
$custom: #5184e1;
$custom-light: #8fa7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5184e1",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 225
  },
  "hsl": {
    "h": 218.75,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.6225,
    "c": 0.15123,
    "h": 261.4
  },
  "luminance": 0.23688
}

Semantic roles & 50–950 ramp

primary
#5184E1
secondary
#E3CFAB
accent
#AE3AED
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5184E1

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

Preview Lab → · Contrast checker → · Palette generator →

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