#5681EB#5681EB

#5681EB is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.5% C 0.166 H 265.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5681EB
RGBrgb(86, 129, 235)
HSLhsl(223, 79%, 63%)
HSVhsv(223, 63%, 92%)
CMYKcmyk(63.4%, 45.1%, 0%, 7.8%)
CIE-LABlab(55.76, 18.06, -58.05)
CIE-LCHlch(55.76, 60.79, 287.28°)
OKLaboklab(62.49% -0.0137 -0.1659)
OKLCHoklch(62.49% 0.166 265.3)
XYZxyz(26.6782, 23.6747, 81.7449)
Luminance0.2368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5681EB #EBC056
analogous
#56CBEB #5681EB #7656EB
triadic
#5681EB #EB5681 #81EB56
tetradic
#5681EB #EB56CB #EBC056 #56EB76
square
#5681EB #EB56CB #EBC056 #56EB76
split-complementary
#5681EB #EB7656 #CBEB56
monochromatic
#1542B2 #1F58E5 #5681EB #8DAAF1 #C3D3F8

Accessibility & contrast

On white

3.66
#5681EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5681EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5681EB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5681EB#FFFFFF#000000##000000
##5681EB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#347FE9
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5681eb;
/* rgb */ color: rgb(86, 129, 235);
/* oklch */ color: oklch(62.5% 0.166 265.3);
Tailwind
colors: {
  custom: {
    50: '#93a5f2',
    500: '#5681eb',
    950: '#000000',
  },
}
SCSS
$custom: #5681eb;
$custom-light: #93a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5681eb",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 222.685,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62488,
    "c": 0.16645,
    "h": 265.3
  },
  "luminance": 0.23677
}

Semantic roles & 50–950 ramp

primary
#5681EB
secondary
#E9DAB4
accent
#9F0ADB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5681EB

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

Preview Lab → · Contrast checker → · Palette generator →

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