#5186DF#5186DF

#5186DF is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.6% C 0.146 H 260.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5186DF
RGBrgb(81, 134, 223)
HSLhsl(218, 69%, 60%)
HSVhsv(218, 64%, 87%)
CMYKcmyk(63.7%, 39.9%, 0%, 12.5%)
CIE-LABlab(56.21, 10.09, -50.64)
CIE-LCHlch(56.21, 51.64, 281.27°)
OKLaboklab(62.56% -0.025 -0.1442)
OKLCHoklch(62.56% 0.146 260.2)
XYZxyz(25.2330, 24.1249, 73.1245)
Luminance0.2413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186DF #DFAA51
analogous
#51CDDF #5186DF #6351DF
triadic
#5186DF #DF5186 #86DF51
tetradic
#5186DF #DF51CD #DFAA51 #51DF63
square
#5186DF #DF51CD #DFAA51 #51DF63
split-complementary
#5186DF #DF6351 #CDDF51
monochromatic
#1C4B99 #2664CD #5186DF #85AAE9 #B8CEF2

Accessibility & contrast

On white

3.60
#5186DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5186DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186DF
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186DF#FFFFFF#000000##000000
##5186DF1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8EE3
Deuteranopia (green-blind)
#4981DD
Tritanopia (blue-blind)
#009AA8
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5186df;
/* rgb */ color: rgb(81, 134, 223);
/* oklch */ color: oklch(62.6% 0.146 260.2);
Tailwind
colors: {
  custom: {
    50: '#8fa8e9',
    500: '#5186df',
    950: '#000000',
  },
}
SCSS
$custom: #5186df;
$custom-light: #8fa8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5186df",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 223
  },
  "hsl": {
    "h": 217.606,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62556,
    "c": 0.14631,
    "h": 260.2
  },
  "luminance": 0.24127
}

Semantic roles & 50–950 ramp

primary
#5186DF
secondary
#E1CDAA
accent
#AA3CEC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5186DF

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

Preview Lab → · Contrast checker → · Palette generator →

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