#5681F2#5681F2

#5681F2 is a light, vivid blue. Relative luminance 0.241; OKLCH L 62.9% C 0.176 H 265.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5681F2
RGBrgb(86, 129, 242)
HSLhsl(223, 86%, 64%)
HSVhsv(223, 64%, 95%)
CMYKcmyk(64.5%, 46.7%, 0%, 5.1%)
CIE-LABlab(56.17, 20.44, -61.27)
CIE-LCHlch(56.17, 64.59, 288.45°)
OKLaboklab(62.94% -0.0126 -0.1754)
OKLCHoklch(62.94% 0.176 265.9)
XYZxyz(27.7095, 24.0872, 87.1762)
Luminance0.2409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5681F2 #F2C756
analogous
#56CFF2 #5681F2 #7956F2
triadic
#5681F2 #F25681 #81F256
tetradic
#5681F2 #F256CF #F2C756 #56F279
square
#5681F2 #F256CF #F2C756 #56F279
split-complementary
#5681F2 #F27956 #CFF256
monochromatic
#0F3FBF #1D57EE #5681F2 #8FABF6 #C8D6FB

Accessibility & contrast

On white

3.61
#5681F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5681F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5681F2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5681F2#FFFFFF#000000##000000
##5681F21.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#2780F0
Tritanopia (blue-blind)
#009BAE
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5681f2;
/* rgb */ color: rgb(86, 129, 242);
/* oklch */ color: oklch(62.9% 0.176 265.9);
Tailwind
colors: {
  custom: {
    50: '#94a5f7',
    500: '#5681f2',
    950: '#000000',
  },
}
SCSS
$custom: #5681f2;
$custom-light: #94a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5681f2",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 223.462,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62939,
    "c": 0.17582,
    "h": 265.9
  },
  "luminance": 0.2409
}

Semantic roles & 50–950 ramp

primary
#5681F2
secondary
#EDDEB7
accent
#A503E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5681F2

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

Preview Lab → · Contrast checker → · Palette generator →

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