#5184F2#5184F2

#5184F2 is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.3% C 0.174 H 263.5°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5184F2
RGBrgb(81, 132, 242)
HSLhsl(221, 86%, 63%)
HSVhsv(221, 67%, 95%)
CMYKcmyk(66.5%, 45.5%, 0%, 5.1%)
CIE-LABlab(56.74, 17.82, -60.38)
CIE-LCHlch(56.74, 62.95, 286.44°)
OKLaboklab(63.31% -0.0196 -0.1728)
OKLCHoklch(63.31% 0.174 263.5)
XYZxyz(27.6660, 24.6599, 87.2890)
Luminance0.2466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184F2 #F2BF51
analogous
#51D4F2 #5184F2 #6E51F2
triadic
#5184F2 #F25184 #84F251
tetradic
#5184F2 #F251D4 #F2BF51 #51F26E
square
#5184F2 #F251D4 #F2BF51 #51F26E
split-complementary
#5184F2 #F26E51 #D4F251
monochromatic
#0E45BB #185CEE #5184F2 #8AACF6 #C3D5FB

Accessibility & contrast

On white

3.54
#5184F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5184F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184F2
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184F2#FFFFFF#000000##000000
##5184F21.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#2D81F0
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5184f2;
/* rgb */ color: rgb(81, 132, 242);
/* oklch */ color: oklch(63.3% 0.174 263.5);
Tailwind
colors: {
  custom: {
    50: '#92a7f7',
    500: '#5184f2',
    950: '#000000',
  },
}
SCSS
$custom: #5184f2;
$custom-light: #92a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5184f2",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 220.994,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63312,
    "c": 0.17388,
    "h": 263.5
  },
  "luminance": 0.24663
}

Semantic roles & 50–950 ramp

primary
#5184F2
secondary
#ECDAB3
accent
#9C03E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5184F2

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

Preview Lab → · Contrast checker → · Palette generator →

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