#5681CD#5681CD

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

Color values

HEX#5681CD
RGBrgb(86, 129, 205)
HSLhsl(218, 54%, 57%)
HSVhsv(218, 58%, 80%)
CMYKcmyk(58%, 37.1%, 0%, 19.6%)
CIE-LABlab(54.12, 8.01, -43.81)
CIE-LCHlch(54.12, 44.54, 280.35°)
OKLaboklab(60.69% -0.0195 -0.1241)
OKLCHoklch(60.69% 0.126 261.1)
XYZxyz(22.7036, 22.0848, 60.8121)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5681CD #CDA256
analogous
#56BDCD #5681CD #6656CD
triadic
#5681CD #CD5681 #81CD56
tetradic
#5681CD #CD56BD #CDA256 #56CD66
square
#5681CD #CD56BD #CDA256 #56CD66
split-complementary
#5681CD #CD6656 #BDCD56
monochromatic
#264882 #3462B1 #5681CD #85A4DB #B4C7E9

Accessibility & contrast

On white

3.88
#5681CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5681CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5681CD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5681CD#FFFFFF#000000##000000
##5681CD1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5681cd;
/* rgb */ color: rgb(86, 129, 205);
/* oklch */ color: oklch(60.7% 0.126 261.1);
Tailwind
colors: {
  custom: {
    50: '#8fa5dc',
    500: '#5681cd',
    950: '#000000',
  },
}
SCSS
$custom: #5681cd;
$custom-light: #8fa5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5681cd",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 205
  },
  "hsl": {
    "h": 218.319,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60687,
    "c": 0.12567,
    "h": 261.1
  },
  "luminance": 0.22087
}

Semantic roles & 50–950 ramp

primary
#5681CD
secondary
#D8C6A7
accent
#A84ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5681CD

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

Preview Lab → · Contrast checker → · Palette generator →

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