#5186DE#5186DE

#5186DE is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.5% C 0.145 H 260.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5186DE
RGBrgb(81, 134, 222)
HSLhsl(217, 68%, 59%)
HSVhsv(217, 64%, 87%)
CMYKcmyk(63.5%, 39.6%, 0%, 12.9%)
CIE-LABlab(56.16, 9.75, -50.17)
CIE-LCHlch(56.16, 51.10, 281.00°)
OKLaboklab(62.5% -0.0252 -0.1428)
OKLCHoklch(62.5% 0.145 260)
XYZxyz(25.0986, 24.0711, 72.4166)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186DE #DEA951
analogous
#51CCDE #5186DE #6351DE
triadic
#5186DE #DE5186 #86DE51
tetradic
#5186DE #DE51CC #DEA951 #51DE63
square
#5186DE #DE51CC #DEA951 #51DE63
split-complementary
#5186DE #DE6351 #CCDE51
monochromatic
#1D4B98 #2764CB #5186DE #84AAE8 #B8CEF2

Accessibility & contrast

On white

3.61
#5186DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5186DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186DE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186DE#FFFFFF#000000##000000
##5186DE1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE1
Deuteranopia (green-blind)
#4A81DC
Tritanopia (blue-blind)
#009AA7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5186de;
/* rgb */ color: rgb(81, 134, 222);
/* oklch */ color: oklch(62.5% 0.145 260.0);
Tailwind
colors: {
  custom: {
    50: '#8fa8e9',
    500: '#5186de',
    950: '#000000',
  },
}
SCSS
$custom: #5186de;
$custom-light: #8fa8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5186de",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 222
  },
  "hsl": {
    "h": 217.447,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62497,
    "c": 0.14497,
    "h": 260
  },
  "luminance": 0.24073
}

Semantic roles & 50–950 ramp

primary
#5186DE
secondary
#E1CCAA
accent
#AA3DEB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #5186DE

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

Preview Lab → · Contrast checker → · Palette generator →

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