#5581E5#5581E5

#5581E5 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.1% C 0.159 H 264.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5581E5
RGBrgb(85, 129, 229)
HSLhsl(222, 73%, 62%)
HSVhsv(222, 63%, 90%)
CMYKcmyk(62.9%, 43.7%, 0%, 10.2%)
CIE-LABlab(55.37, 15.85, -55.33)
CIE-LCHlch(55.37, 57.56, 285.99°)
OKLaboklab(62.06% -0.0155 -0.1579)
OKLCHoklch(62.06% 0.159 264.4)
XYZxyz(25.7345, 23.2866, 77.2521)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5581E5 #E5B955
analogous
#55C9E5 #5581E5 #7155E5
triadic
#5581E5 #E55581 #81E555
tetradic
#5581E5 #E555C9 #E5B955 #55E571
square
#5581E5 #E555C9 #E5B955 #55E571
split-complementary
#5581E5 #E57155 #C9E555
monochromatic
#1944A6 #225ADB #5581E5 #8AA8ED #BFD0F5

Accessibility & contrast

On white

3.71
#5581E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5581E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5581E5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5581E5#FFFFFF#000000##000000
##5581E51.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#528CE9
Deuteranopia (green-blind)
#3B7EE3
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5581e5;
/* rgb */ color: rgb(85, 129, 229);
/* oklch */ color: oklch(62.1% 0.159 264.4);
Tailwind
colors: {
  custom: {
    50: '#92a5ee',
    500: '#5581e5',
    950: '#000000',
  },
}
SCSS
$custom: #5581e5;
$custom-light: #92a5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5581e5",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 229
  },
  "hsl": {
    "h": 221.667,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62061,
    "c": 0.15869,
    "h": 264.4
  },
  "luminance": 0.23289
}

Semantic roles & 50–950 ramp

primary
#5581E5
secondary
#E6D5B0
accent
#9910D6
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5581E5

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

Preview Lab → · Contrast checker → · Palette generator →

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