#5184E7#5184E7

#5184E7 is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.6% C 0.159 H 262.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5184E7
RGBrgb(81, 132, 231)
HSLhsl(220, 76%, 61%)
HSVhsv(220, 65%, 91%)
CMYKcmyk(64.9%, 42.9%, 0%, 9.4%)
CIE-LABlab(56.11, 14.03, -55.28)
CIE-LCHlch(56.11, 57.03, 284.24°)
OKLaboklab(62.62% -0.0215 -0.1578)
OKLCHoklch(62.62% 0.159 262.3)
XYZxyz(26.0633, 24.0189, 78.8484)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5184E7 #E7B451
analogous
#51CFE7 #5184E7 #6951E7
triadic
#5184E7 #E75184 #84E751
tetradic
#5184E7 #E751CF #E7B451 #51E769
square
#5184E7 #E751CF #E7B451 #51E769
split-complementary
#5184E7 #E76951 #CFE751
monochromatic
#1748A7 #1E5FDC #5184E7 #87AAEE #BDD0F6

Accessibility & contrast

On white

3.62
#5184E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5184E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5184E7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5184E7#FFFFFF#000000##000000
##5184E71.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#558EEB
Deuteranopia (green-blind)
#3D80E5
Tritanopia (blue-blind)
#009BAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5184e7;
/* rgb */ color: rgb(81, 132, 231);
/* oklch */ color: oklch(62.6% 0.159 262.3);
Tailwind
colors: {
  custom: {
    50: '#90a7ef',
    500: '#5184e7',
    950: '#000000',
  },
}
SCSS
$custom: #5184e7;
$custom-light: #90a7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5184e7",
  "rgb": {
    "r": 81,
    "g": 132,
    "b": 231
  },
  "hsl": {
    "h": 219.6,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62617,
    "c": 0.15925,
    "h": 262.3
  },
  "luminance": 0.24021
}

Semantic roles & 50–950 ramp

primary
#5184E7
secondary
#E6D3AE
accent
#930ED8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5184E7

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

Preview Lab → · Contrast checker → · Palette generator →

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