#5686F2#5686F2

#5686F2 is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.0% C 0.170 H 264.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5686F2
RGBrgb(86, 134, 242)
HSLhsl(222, 86%, 64%)
HSVhsv(222, 64%, 95%)
CMYKcmyk(64.5%, 44.6%, 0%, 5.1%)
CIE-LABlab(57.50, 17.40, -59.15)
CIE-LCHlch(57.50, 61.66, 286.40°)
OKLaboklab(63.95% -0.0173 -0.1691)
OKLCHoklch(63.95% 0.17 264.2)
XYZxyz(28.3843, 25.4368, 87.4011)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5686F2 #F2C256
analogous
#56D4F2 #5686F2 #7456F2
triadic
#5686F2 #F25686 #86F256
tetradic
#5686F2 #F256D4 #F2C256 #56F274
square
#5686F2 #F256D4 #F2C256 #56F274
split-complementary
#5686F2 #F27456 #D4F256
monochromatic
#0F45BF #1D5DEE #5686F2 #8FAFF6 #C8D7FB

Accessibility & contrast

On white

3.45
#5686F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5686F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5686F2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5686F2#FFFFFF#000000##000000
##5686F21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#3683F0
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5686f2;
/* rgb */ color: rgb(86, 134, 242);
/* oklch */ color: oklch(64.0% 0.170 264.2);
Tailwind
colors: {
  custom: {
    50: '#94a8f7',
    500: '#5686f2',
    950: '#000000',
  },
}
SCSS
$custom: #5686f2;
$custom-light: #94a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5686f2",
  "rgb": {
    "r": 86,
    "g": 134,
    "b": 242
  },
  "hsl": {
    "h": 221.538,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63953,
    "c": 0.16994,
    "h": 264.2
  },
  "luminance": 0.25439
}

Semantic roles & 50–950 ramp

primary
#5686F2
secondary
#EDDCB7
accent
#9E03E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5686F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5686F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva