#5184FD#5184FD

#5184FD is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.0% C 0.188 H 264.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5184FD
RGBrgb(81, 132, 253)
HSLhsl(222, 98%, 65%)
HSVhsv(222, 68%, 99%)
CMYKcmyk(68%, 47.8%, 0%, 0.8%)
CIE-LABlab(57.41, 21.62, -65.39)
CIE-LCHlch(57.41, 68.87, 288.30°)
OKLaboklab(64.03% -0.0181 -0.1875)
OKLCHoklch(64.03% 0.188 264.5)
XYZxyz(29.3680, 25.3407, 96.2530)
Luminance0.2534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184FD #FDCA51
analogous
#51DAFD #5184FD #7451FD
triadic
#5184FD #FD5184 #84FD51
tetradic
#5184FD #FD51DA #FDCA51 #51FD74
square
#5184FD #FD51DA #FDCA51 #51FD74
split-complementary
#5184FD #FD7451 #DAFD51
monochromatic
#0240D1 #1459FC #5184FD #8EAFFE #CADAFE

Accessibility & contrast

On white

3.46
#5184FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5184FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184FD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184FD#FFFFFF#000000##000000
##5184FD1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#0F82FB
Tritanopia (blue-blind)
#00A0B4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5184fd;
/* rgb */ color: rgb(81, 132, 253);
/* oklch */ color: oklch(64.0% 0.188 264.5);
Tailwind
colors: {
  custom: {
    50: '#94a7ff',
    500: '#5184fd',
    950: '#000000',
  },
}
SCSS
$custom: #5184fd;
$custom-light: #94a7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5184fd",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 253
  },
  "hsl": {
    "h": 222.209,
    "s": 97.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64032,
    "c": 0.18838,
    "h": 264.5
  },
  "luminance": 0.25344
}

Semantic roles & 50–950 ramp

primary
#5184FD
secondary
#F2E1B8
accent
#A100E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86

Preview Lab

Preview with #5184FD

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

Preview Lab → · Contrast checker → · Palette generator →

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