#5184E8#5184E8

#5184E8 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.7% C 0.161 H 262.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5184E8
RGBrgb(81, 132, 232)
HSLhsl(220, 77%, 61%)
HSVhsv(220, 65%, 91%)
CMYKcmyk(65.1%, 43.1%, 0%, 9%)
CIE-LABlab(56.16, 14.38, -55.75)
CIE-LCHlch(56.16, 57.57, 284.46°)
OKLaboklab(62.68% -0.0213 -0.1592)
OKLCHoklch(62.68% 0.161 262.4)
XYZxyz(26.2050, 24.0755, 79.5943)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184E8 #E8B551
analogous
#51D0E8 #5184E8 #6A51E8
triadic
#5184E8 #E85184 #84E851
tetradic
#5184E8 #E851D0 #E8B551 #51E86A
square
#5184E8 #E851D0 #E8B551 #51E86A
split-complementary
#5184E8 #E86A51 #D0E851
monochromatic
#1648A8 #1D5FDE #5184E8 #87AAEF #BDD0F6

Accessibility & contrast

On white

3.61
#5184E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5184E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184E8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184E8#FFFFFF#000000##000000
##5184E81.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#558EEC
Deuteranopia (green-blind)
#3C80E6
Tritanopia (blue-blind)
#009BAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5184e8;
/* rgb */ color: rgb(81, 132, 232);
/* oklch */ color: oklch(62.7% 0.161 262.4);
Tailwind
colors: {
  custom: {
    50: '#90a7f0',
    500: '#5184e8',
    950: '#000000',
  },
}
SCSS
$custom: #5184e8;
$custom-light: #90a7f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5184e8",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 232
  },
  "hsl": {
    "h": 219.735,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62679,
    "c": 0.16059,
    "h": 262.4
  },
  "luminance": 0.24078
}

Semantic roles & 50–950 ramp

primary
#5184E8
secondary
#E7D4AE
accent
#940DD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5184E8

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

Preview Lab → · Contrast checker → · Palette generator →

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