#5186DA#5186DA

#5186DA is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.3% C 0.140 H 259.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5186DA
RGBrgb(81, 134, 218)
HSLhsl(217, 65%, 59%)
HSVhsv(217, 63%, 85%)
CMYKcmyk(62.8%, 38.5%, 0%, 14.5%)
CIE-LABlab(55.95, 8.39, -48.26)
CIE-LCHlch(55.95, 48.98, 279.86°)
OKLaboklab(62.26% -0.0261 -0.1372)
OKLCHoklch(62.26% 0.14 259.2)
XYZxyz(24.5688, 23.8592, 69.6266)
Luminance0.2386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186DA #DAA551
analogous
#51CBDA #5186DA #6051DA
triadic
#5186DA #DA5186 #86DA51
tetradic
#5186DA #DA51CB #DAA551 #51DA60
square
#5186DA #DA51CB #DAA551 #51DA60
split-complementary
#5186DA #DA6051 #CBDA51
monochromatic
#1F4B92 #2A65C4 #5186DA #83A9E5 #B6CCEF

Accessibility & contrast

On white

3.64
#5186DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5186DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186DA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186DA#FFFFFF#000000##000000
##5186DA1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#618DDD
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#0099A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5186da;
/* rgb */ color: rgb(81, 134, 218);
/* oklch */ color: oklch(62.3% 0.140 259.2);
Tailwind
colors: {
  custom: {
    50: '#8ea8e6',
    500: '#5186da',
    950: '#000000',
  },
}
SCSS
$custom: #5186da;
$custom-light: #8ea8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5186da",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 218
  },
  "hsl": {
    "h": 216.788,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62263,
    "c": 0.13963,
    "h": 259.2
  },
  "luminance": 0.23861
}

Semantic roles & 50–950 ramp

primary
#5186DA
secondary
#DECAA8
accent
#A740E8
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5186DA

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

Preview Lab → · Contrast checker → · Palette generator →

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