#5681CE#5681CE

#5681CE is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.127 H 261.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5681CE
RGBrgb(86, 129, 206)
HSLhsl(219, 55%, 57%)
HSVhsv(219, 58%, 81%)
CMYKcmyk(58.3%, 37.4%, 0%, 19.2%)
CIE-LABlab(54.17, 8.34, -44.30)
CIE-LCHlch(54.17, 45.08, 280.66°)
OKLaboklab(60.74% -0.0192 -0.1256)
OKLCHoklch(60.74% 0.127 261.3)
XYZxyz(22.8247, 22.1333, 61.4499)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5681CE #CEA356
analogous
#56BDCE #5681CE #6756CE
triadic
#5681CE #CE5681 #81CE56
tetradic
#5681CE #CE56BD #CEA356 #56CE67
square
#5681CE #CE56BD #CEA356 #56CE67
split-complementary
#5681CE #CE6756 #BDCE56
monochromatic
#264883 #3461B3 #5681CE #85A4DC #B5C8EA

Accessibility & contrast

On white

3.87
#5681CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5681CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5681CE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5681CE#FFFFFF#000000##000000
##5681CE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D1
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5681ce;
/* rgb */ color: rgb(86, 129, 206);
/* oklch */ color: oklch(60.7% 0.127 261.3);
Tailwind
colors: {
  custom: {
    50: '#8fa5dd',
    500: '#5681ce',
    950: '#000000',
  },
}
SCSS
$custom: #5681ce;
$custom-light: #8fa5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5681ce",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 218.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.12703,
    "h": 261.3
  },
  "luminance": 0.22135
}

Semantic roles & 50–950 ramp

primary
#5681CE
secondary
#D8C7A8
accent
#A949DE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5681CE

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

Preview Lab → · Contrast checker → · Palette generator →

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