#5186FC#5186FC

#5186FC is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.4% C 0.185 H 263.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5186FC
RGBrgb(81, 134, 252)
HSLhsl(221, 97%, 65%)
HSVhsv(221, 68%, 99%)
CMYKcmyk(67.9%, 46.8%, 0%, 1.2%)
CIE-LABlab(57.87, 20.06, -64.09)
CIE-LCHlch(57.87, 67.15, 287.38°)
OKLaboklab(64.37% -0.0199 -0.1837)
OKLCHoklch(64.37% 0.185 263.8)
XYZxyz(29.4829, 25.8248, 95.5075)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5186FC #FCC751
analogous
#51DBFC #5186FC #7251FC
triadic
#5186FC #FC5186 #86FC51
tetradic
#5186FC #FC51DB #FCC751 #51FC72
square
#5186FC #FC51DB #FCC751 #51FC72
split-complementary
#5186FC #FC7251 #DBFC51
monochromatic
#0443CF #155CFB #5186FC #8DB0FD #C9DAFE

Accessibility & contrast

On white

3.41
#5186FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5186FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5186FC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5186FC#FFFFFF#000000##000000
##5186FC1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5186fc;
/* rgb */ color: rgb(81, 134, 252);
/* oklch */ color: oklch(64.4% 0.185 263.8);
Tailwind
colors: {
  custom: {
    50: '#94a8fe',
    500: '#5186fc',
    950: '#000000',
  },
}
SCSS
$custom: #5186fc;
$custom-light: #94a8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5186fc",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 221.404,
    "s": 96.61,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64368,
    "c": 0.18474,
    "h": 263.8
  },
  "luminance": 0.25828
}

Semantic roles & 50–950 ramp

primary
#5186FC
secondary
#F1DFB8
accent
#9E00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F18
muted
#7E7F86

Preview Lab

Preview with #5186FC

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

Preview Lab → · Contrast checker → · Palette generator →

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