#5186FD#5186FD

#5186FD is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.4% C 0.186 H 263.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5186FD
RGBrgb(81, 134, 253)
HSLhsl(222, 98%, 65%)
HSVhsv(222, 68%, 99%)
CMYKcmyk(68%, 47%, 0%, 0.8%)
CIE-LABlab(57.93, 20.40, -64.54)
CIE-LCHlch(57.93, 67.69, 287.54°)
OKLaboklab(64.43% -0.0198 -0.185)
OKLCHoklch(64.43% 0.186 263.9)
XYZxyz(29.6418, 25.8884, 96.3443)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186FD #FDC851
analogous
#51DCFD #5186FD #7251FD
triadic
#5186FD #FD5186 #86FD51
tetradic
#5186FD #FD51DC #FDC851 #51FD72
square
#5186FD #FD51DC #FDC851 #51FD72
split-complementary
#5186FD #FD7251 #DCFD51
monochromatic
#0242D1 #145CFC #5186FD #8EB0FE #CADAFE

Accessibility & contrast

On white

3.40
#5186FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5186FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186FD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186FD#FFFFFF#000000##000000
##5186FD1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#1C84FB
Tritanopia (blue-blind)
#00A2B5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5186fd;
/* rgb */ color: rgb(81, 134, 253);
/* oklch */ color: oklch(64.4% 0.186 263.9);
Tailwind
colors: {
  custom: {
    50: '#94a8ff',
    500: '#5186fd',
    950: '#000000',
  },
}
SCSS
$custom: #5186fd;
$custom-light: #94a8ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5186fd",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 253
  },
  "hsl": {
    "h": 221.512,
    "s": 97.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64434,
    "c": 0.18606,
    "h": 263.9
  },
  "luminance": 0.25891
}

Semantic roles & 50–950 ramp

primary
#5186FD
secondary
#F2E0B8
accent
#9F00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86

Preview Lab

Preview with #5186FD

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

Preview Lab → · Contrast checker → · Palette generator →

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