#5581DC#5581DC

#5581DC is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.146 H 263.3°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5581DC
RGBrgb(85, 129, 220)
HSLhsl(220, 66%, 60%)
HSVhsv(220, 61%, 86%)
CMYKcmyk(61.4%, 41.4%, 0%, 13.7%)
CIE-LABlab(54.86, 12.81, -51.10)
CIE-LCHlch(54.86, 52.68, 284.08°)
OKLaboklab(61.51% -0.0171 -0.1455)
OKLCHoklch(61.51% 0.147 263.3)
XYZxyz(24.5104, 22.7969, 70.8049)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5581DC #DCB055
analogous
#55C5DC #5581DC #6C55DC
triadic
#5581DC #DC5581 #81DC55
tetradic
#5581DC #DC55C5 #DCB055 #55DC6C
square
#5581DC #DC55C5 #DCB055 #55DC6C
split-complementary
#5581DC #DC6C55 #C5DC55
monochromatic
#1F4697 #2A5ECA #5581DC #88A7E6 #BBCCF1

Accessibility & contrast

On white

3.78
#5581DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5581DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5581DC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5581DC#FFFFFF#000000##000000
##5581DC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE0
Deuteranopia (green-blind)
#457EDA
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5581dc;
/* rgb */ color: rgb(85, 129, 220);
/* oklch */ color: oklch(61.5% 0.146 263.3);
Tailwind
colors: {
  custom: {
    50: '#90a5e7',
    500: '#5581dc',
    950: '#000000',
  },
}
SCSS
$custom: #5581dc;
$custom-light: #90a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5581dc",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 220.444,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6151,
    "c": 0.1465,
    "h": 263.3
  },
  "luminance": 0.22799
}

Semantic roles & 50–950 ramp

primary
#5581DC
secondary
#E0CFAC
accent
#B13FE9
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5581DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5581DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva