#5681CC#5681CC

#5681CC is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.124 H 260.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5681CC
RGBrgb(86, 129, 204)
HSLhsl(218, 54%, 57%)
HSVhsv(218, 58%, 80%)
CMYKcmyk(57.8%, 36.8%, 0%, 20%)
CIE-LABlab(54.07, 7.68, -43.33)
CIE-LCHlch(54.07, 44.00, 280.05°)
OKLaboklab(60.63% -0.0197 -0.1227)
OKLCHoklch(60.63% 0.124 260.9)
XYZxyz(22.5833, 22.0367, 60.1785)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5681CC #CCA156
analogous
#56BCCC #5681CC #6656CC
triadic
#5681CC #CC5681 #81CC56
tetradic
#5681CC #CC56BC #CCA156 #56CC66
square
#5681CC #CC56BC #CCA156 #56CC66
split-complementary
#5681CC #CC6656 #BCCC56
monochromatic
#274881 #3562B0 #5681CC #85A4DA #B4C7E8

Accessibility & contrast

On white

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

On black

5.41
#5681CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5681CC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5681CC#FFFFFF#000000##000000
##5681CC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CF
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5681cc;
/* rgb */ color: rgb(86, 129, 204);
/* oklch */ color: oklch(60.6% 0.124 260.9);
Tailwind
colors: {
  custom: {
    50: '#8ea5dc',
    500: '#5681cc',
    950: '#000000',
  },
}
SCSS
$custom: #5681cc;
$custom-light: #8ea5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5681cc",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 218.136,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60631,
    "c": 0.1243,
    "h": 260.9
  },
  "luminance": 0.22039
}

Semantic roles & 50–950 ramp

primary
#5681CC
secondary
#D7C5A7
accent
#A84BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5681CC

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

Preview Lab → · Contrast checker → · Palette generator →

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