#5184F4#5184F4

#5184F4 is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.4% C 0.177 H 263.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5184F4
RGBrgb(81, 132, 244)
HSLhsl(221, 88%, 64%)
HSVhsv(221, 67%, 96%)
CMYKcmyk(66.8%, 45.9%, 0%, 4.3%)
CIE-LABlab(56.86, 18.51, -61.29)
CIE-LCHlch(56.86, 64.03, 286.80°)
OKLaboklab(63.44% -0.0193 -0.1755)
OKLCHoklch(63.44% 0.177 263.7)
XYZxyz(27.9680, 24.7807, 88.8796)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184F4 #F4C151
analogous
#51D5F4 #5184F4 #6F51F4
triadic
#5184F4 #F45184 #84F451
tetradic
#5184F4 #F451D5 #F4C151 #51F46F
square
#5184F4 #F451D5 #F4C151 #51F46F
split-complementary
#5184F4 #F46F51 #D5F451
monochromatic
#0C44BF #175BF0 #5184F4 #8BADF8 #C4D5FB

Accessibility & contrast

On white

3.53
#5184F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5184F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184F4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184F4#FFFFFF#000000##000000
##5184F41.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B90F8
Deuteranopia (green-blind)
#2981F2
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5184f4;
/* rgb */ color: rgb(81, 132, 244);
/* oklch */ color: oklch(63.4% 0.177 263.7);
Tailwind
colors: {
  custom: {
    50: '#92a7f8',
    500: '#5184f4',
    950: '#000000',
  },
}
SCSS
$custom: #5184f4;
$custom-light: #92a7f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5184f4",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 244
  },
  "hsl": {
    "h": 221.227,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63441,
    "c": 0.17653,
    "h": 263.7
  },
  "luminance": 0.24784
}

Semantic roles & 50–950 ramp

primary
#5184F4
secondary
#EDDBB4
accent
#9D01E5
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5184F4

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

Preview Lab → · Contrast checker → · Palette generator →

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