#5186EB#5186EB

#5186EB is a light, vivid blue. Relative luminance 0.248; OKLCH L 63.3% C 0.162 H 262.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5186EB
RGBrgb(81, 134, 235)
HSLhsl(219, 79%, 62%)
HSVhsv(219, 66%, 92%)
CMYKcmyk(65.5%, 43%, 0%, 7.8%)
CIE-LABlab(56.88, 14.19, -56.28)
CIE-LCHlch(56.88, 58.04, 284.16°)
OKLaboklab(63.28% -0.0226 -0.1607)
OKLCHoklch(63.28% 0.162 262)
XYZxyz(26.9085, 24.7951, 81.9490)
Luminance0.2480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186EB #EBB651
analogous
#51D3EB #5186EB #6951EB
triadic
#5186EB #EB5186 #86EB51
tetradic
#5186EB #EB51D3 #EBB651 #51EB69
square
#5186EB #EB51D3 #EBB651 #51EB69
split-complementary
#5186EB #EB6951 #D3EB51
monochromatic
#1449AE #1A60E5 #5186EB #88ACF1 #BFD2F8

Accessibility & contrast

On white

3.52
#5186EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5186EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186EB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186EB#FFFFFF#000000##000000
##5186EB1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#009DAD
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5186eb;
/* rgb */ color: rgb(81, 134, 235);
/* oklch */ color: oklch(63.3% 0.162 262.0);
Tailwind
colors: {
  custom: {
    50: '#91a8f2',
    500: '#5186eb',
    950: '#000000',
  },
}
SCSS
$custom: #5186eb;
$custom-light: #91a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5186eb",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 219.351,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63283,
    "c": 0.16229,
    "h": 262
  },
  "luminance": 0.24798
}

Semantic roles & 50–950 ramp

primary
#5186EB
secondary
#E8D5B0
accent
#930ADC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5186EB

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

Preview Lab → · Contrast checker → · Palette generator →

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