#5581DB#5581DB

#5581DB is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.5% C 0.145 H 263.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5581DB
RGBrgb(85, 129, 219)
HSLhsl(220, 65%, 60%)
HSVhsv(220, 61%, 86%)
CMYKcmyk(61.2%, 41.1%, 0%, 14.1%)
CIE-LABlab(54.81, 12.48, -50.62)
CIE-LCHlch(54.81, 52.14, 283.84°)
OKLaboklab(61.45% -0.0173 -0.1441)
OKLCHoklch(61.45% 0.145 263.1)
XYZxyz(24.3783, 22.7441, 70.1094)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5581DB #DBAF55
analogous
#55C4DB #5581DB #6C55DB
triadic
#5581DB #DB5581 #81DB55
tetradic
#5581DB #DB55C4 #DBAF55 #55DB6C
square
#5581DB #DB55C4 #DBAF55 #55DB6C
split-complementary
#5581DB #DB6C55 #C4DB55
monochromatic
#204796 #2A5EC8 #5581DB #88A6E6 #BACCF0

Accessibility & contrast

On white

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

On black

5.55
#5581DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5581DB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5581DB#FFFFFF#000000##000000
##5581DB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#467DD9
Tritanopia (blue-blind)
#0095A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5581db;
/* rgb */ color: rgb(85, 129, 219);
/* oklch */ color: oklch(61.5% 0.145 263.1);
Tailwind
colors: {
  custom: {
    50: '#90a5e6',
    500: '#5581db',
    950: '#000000',
  },
}
SCSS
$custom: #5581db;
$custom-light: #90a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5581db",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 219
  },
  "hsl": {
    "h": 220.299,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6145,
    "c": 0.14514,
    "h": 263.1
  },
  "luminance": 0.22746
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5581DB

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

Preview Lab → · Contrast checker → · Palette generator →

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