#5185E4#5185E4

#5185E4 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.6% C 0.154 H 261.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5185E4
RGBrgb(81, 133, 228)
HSLhsl(219, 73%, 61%)
HSVhsv(219, 64%, 89%)
CMYKcmyk(64.5%, 41.7%, 0%, 10.6%)
CIE-LABlab(56.21, 12.40, -53.44)
CIE-LCHlch(56.21, 54.86, 283.06°)
OKLaboklab(62.64% -0.023 -0.1524)
OKLCHoklch(62.64% 0.154 261.4)
XYZxyz(25.7795, 24.1234, 76.6814)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185E4 #E4B051
analogous
#51CEE4 #5185E4 #6751E4
triadic
#5185E4 #E45185 #85E451
tetradic
#5185E4 #E451CE #E4B051 #51E467
square
#5185E4 #E451CE #E4B051 #51E467
split-complementary
#5185E4 #E46751 #CEE451
monochromatic
#1949A2 #2161D7 #5185E4 #86AAEC #BBCFF4

Accessibility & contrast

On white

3.61
#5185E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5185E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185E4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185E4#FFFFFF#000000##000000
##5185E41.003.615.835.83
#FFFFFF3.611.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#598EE8
Deuteranopia (green-blind)
#4280E2
Tritanopia (blue-blind)
#009BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5185e4;
/* rgb */ color: rgb(81, 133, 228);
/* oklch */ color: oklch(62.6% 0.154 261.4);
Tailwind
colors: {
  custom: {
    50: '#90a8ed',
    500: '#5185e4',
    950: '#000000',
  },
}
SCSS
$custom: #5185e4;
$custom-light: #90a8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5185e4",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 228
  },
  "hsl": {
    "h": 218.776,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62643,
    "c": 0.1541,
    "h": 261.4
  },
  "luminance": 0.24126
}

Semantic roles & 50–950 ramp

primary
#5185E4
secondary
#E4D1AC
accent
#9010D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5185E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5185E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva