#5186E6#5186E6

#5186E6 is a light, vivid blue. Relative luminance 0.245; OKLCH L 63.0% C 0.156 H 261.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5186E6
RGBrgb(81, 134, 230)
HSLhsl(219, 75%, 61%)
HSVhsv(219, 65%, 90%)
CMYKcmyk(64.8%, 41.7%, 0%, 9.8%)
CIE-LABlab(56.59, 12.48, -53.94)
CIE-LCHlch(56.59, 55.37, 283.03°)
OKLaboklab(62.98% -0.0236 -0.1538)
OKLCHoklch(62.98% 0.156 261.3)
XYZxyz(26.1963, 24.5102, 78.1980)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186E6 #E6B151
analogous
#51D0E6 #5186E6 #6651E6
triadic
#5186E6 #E65186 #86E651
tetradic
#5186E6 #E651D0 #E6B151 #51E666
square
#5186E6 #E651D0 #E6B151 #51E666
split-complementary
#5186E6 #E66651 #D0E651
monochromatic
#184AA5 #1F62DA #5186E6 #87ABEE #BCD0F5

Accessibility & contrast

On white

3.56
#5186E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5186E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186E6
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186E6#FFFFFF#000000##000000
##5186E61.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8FEA
Deuteranopia (green-blind)
#4281E4
Tritanopia (blue-blind)
#009CAB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5186e6;
/* rgb */ color: rgb(81, 134, 230);
/* oklch */ color: oklch(63.0% 0.156 261.3);
Tailwind
colors: {
  custom: {
    50: '#90a8ee',
    500: '#5186e6',
    950: '#000000',
  },
}
SCSS
$custom: #5186e6;
$custom-light: #90a8ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5186e6",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 230
  },
  "hsl": {
    "h": 218.658,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62976,
    "c": 0.15564,
    "h": 261.3
  },
  "luminance": 0.24513
}

Semantic roles & 50–950 ramp

primary
#5186E6
secondary
#E5D2AD
accent
#900ED7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5186E6

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

Preview Lab → · Contrast checker → · Palette generator →

#5186E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva