#5185E7#5185E7

#5185E7 is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.8% C 0.158 H 261.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5185E7
RGBrgb(81, 133, 231)
HSLhsl(219, 76%, 61%)
HSVhsv(219, 65%, 91%)
CMYKcmyk(64.9%, 42.4%, 0%, 9.4%)
CIE-LABlab(56.38, 13.43, -54.84)
CIE-LCHlch(56.38, 56.46, 283.76°)
OKLaboklab(62.83% -0.0224 -0.1565)
OKLCHoklch(62.83% 0.158 261.8)
XYZxyz(26.1996, 24.2914, 78.8938)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5185E7 #E7B351
analogous
#51D0E7 #5185E7 #6851E7
triadic
#5185E7 #E75185 #85E751
tetradic
#5185E7 #E751D0 #E7B351 #51E768
square
#5185E7 #E751D0 #E7B351 #51E768
split-complementary
#5185E7 #E76851 #D0E751
monochromatic
#1749A7 #1E60DC #5185E7 #87ABEE #BDD0F6

Accessibility & contrast

On white

3.58
#5185E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#5185E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5185E7
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5185E7#FFFFFF#000000##000000
##5185E71.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#578FEB
Deuteranopia (green-blind)
#3F81E5
Tritanopia (blue-blind)
#009BAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5185e7;
/* rgb */ color: rgb(81, 133, 231);
/* oklch */ color: oklch(62.8% 0.158 261.8);
Tailwind
colors: {
  custom: {
    50: '#90a8ef',
    500: '#5185e7',
    950: '#000000',
  },
}
SCSS
$custom: #5185e7;
$custom-light: #90a8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5185e7",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 231
  },
  "hsl": {
    "h": 219.2,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62827,
    "c": 0.15811,
    "h": 261.8
  },
  "luminance": 0.24294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5185E7

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

Preview Lab → · Contrast checker → · Palette generator →

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