#5581D5#5581D5

#5581D5 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.1% C 0.137 H 262.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5581D5
RGBrgb(85, 129, 213)
HSLhsl(219, 60%, 58%)
HSVhsv(219, 60%, 84%)
CMYKcmyk(60.1%, 39.4%, 0%, 16.5%)
CIE-LABlab(54.48, 10.46, -47.76)
CIE-LCHlch(54.48, 48.89, 282.36°)
OKLaboklab(61.09% -0.0186 -0.1357)
OKLCHoklch(61.09% 0.137 262.2)
XYZxyz(23.6026, 22.4339, 66.0242)
Luminance0.2244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5581D5 #D5A955
analogous
#55C1D5 #5581D5 #6955D5
triadic
#5581D5 #D55581 #81D555
tetradic
#5581D5 #D555C1 #D5A955 #55D569
square
#5581D5 #D555C1 #D5A955 #55D569
split-complementary
#5581D5 #D56955 #C1D555
monochromatic
#23478D #2F60BE #5581D5 #86A5E1 #B7CAED

Accessibility & contrast

On white

3.83
#5581D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5581D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5581D5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5581D5#FFFFFF#000000##000000
##5581D51.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D89D8
Deuteranopia (green-blind)
#4B7DD3
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5581d5;
/* rgb */ color: rgb(85, 129, 213);
/* oklch */ color: oklch(61.1% 0.137 262.2);
Tailwind
colors: {
  custom: {
    50: '#8fa5e2',
    500: '#5581d5',
    950: '#000000',
  },
}
SCSS
$custom: #5581d5;
$custom-light: #8fa5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5581d5",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 213
  },
  "hsl": {
    "h": 219.375,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61094,
    "c": 0.13696,
    "h": 262.2
  },
  "luminance": 0.22436
}

Semantic roles & 50–950 ramp

primary
#5581D5
secondary
#DCCBA9
accent
#AD44E4
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5581D5

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

Preview Lab → · Contrast checker → · Palette generator →

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