#5684F2#5684F2

#5684F2 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.5% C 0.172 H 264.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5684F2
RGBrgb(86, 132, 242)
HSLhsl(222, 86%, 64%)
HSVhsv(222, 64%, 95%)
CMYKcmyk(64.5%, 45.5%, 0%, 5.1%)
CIE-LABlab(56.97, 18.62, -60.00)
CIE-LCHlch(56.97, 62.82, 287.24°)
OKLaboklab(63.54% -0.0154 -0.1716)
OKLCHoklch(63.54% 0.172 264.9)
XYZxyz(28.1105, 24.8891, 87.3099)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5684F2 #F2C456
analogous
#56D2F2 #5684F2 #7656F2
triadic
#5684F2 #F25684 #84F256
tetradic
#5684F2 #F256D2 #F2C456 #56F276
square
#5684F2 #F256D2 #F2C456 #56F276
split-complementary
#5684F2 #F27656 #D2F256
monochromatic
#0F43BF #1D5BEE #5684F2 #8FADF6 #C8D7FB

Accessibility & contrast

On white

3.51
#5684F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5684F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5684F2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5684F2#FFFFFF#000000##000000
##5684F21.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#3182F0
Tritanopia (blue-blind)
#009DAF
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5684f2;
/* rgb */ color: rgb(86, 132, 242);
/* oklch */ color: oklch(63.5% 0.172 264.9);
Tailwind
colors: {
  custom: {
    50: '#94a7f7',
    500: '#5684f2',
    950: '#000000',
  },
}
SCSS
$custom: #5684f2;
$custom-light: #94a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5684f2",
  "rgb": {
    "r": 86,
    "g": 132,
    "b": 242
  },
  "hsl": {
    "h": 222.308,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63545,
    "c": 0.17228,
    "h": 264.9
  },
  "luminance": 0.24892
}

Semantic roles & 50–950 ramp

primary
#5684F2
secondary
#EDDDB7
accent
#A003E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5684F2

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

Preview Lab → · Contrast checker → · Palette generator →

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