#5581E4#5581E4

#5581E4 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 62.0% C 0.157 H 264.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5581E4
RGBrgb(85, 129, 228)
HSLhsl(222, 73%, 61%)
HSVhsv(222, 63%, 89%)
CMYKcmyk(62.7%, 43.4%, 0%, 10.6%)
CIE-LABlab(55.31, 15.51, -54.87)
CIE-LCHlch(55.31, 57.02, 285.79°)
OKLaboklab(62% -0.0157 -0.1566)
OKLCHoklch(62% 0.157 264.3)
XYZxyz(25.5953, 23.2309, 76.5189)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5581E4 #E4B855
analogous
#55C9E4 #5581E4 #7155E4
triadic
#5581E4 #E45581 #81E455
tetradic
#5581E4 #E455C9 #E4B855 #55E471
square
#5581E4 #E455C9 #E4B855 #55E471
split-complementary
#5581E4 #E47155 #C9E455
monochromatic
#1A45A4 #235BD9 #5581E4 #8AA8EC #BFCFF5

Accessibility & contrast

On white

3.72
#5581E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5581E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5581E4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5581E4#FFFFFF#000000##000000
##5581E41.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE8
Deuteranopia (green-blind)
#3C7EE2
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5581e4;
/* rgb */ color: rgb(85, 129, 228);
/* oklch */ color: oklch(62.0% 0.157 264.3);
Tailwind
colors: {
  custom: {
    50: '#91a5ed',
    500: '#5581e4',
    950: '#000000',
  },
}
SCSS
$custom: #5581e4;
$custom-light: #91a5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5581e4",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 228
  },
  "hsl": {
    "h": 221.538,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.15734,
    "h": 264.3
  },
  "luminance": 0.23233
}

Semantic roles & 50–950 ramp

primary
#5581E4
secondary
#E5D5B0
accent
#9811D5
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5581E4

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

Preview Lab → · Contrast checker → · Palette generator →

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