#5581EC#5581EC

#5581EC is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.5% C 0.168 H 265.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5581EC
RGBrgb(85, 129, 236)
HSLhsl(223, 80%, 63%)
HSVhsv(223, 64%, 93%)
CMYKcmyk(64%, 45.3%, 0%, 7.5%)
CIE-LABlab(55.77, 18.23, -58.59)
CIE-LCHlch(55.77, 61.36, 287.28°)
OKLaboklab(62.5% -0.0144 -0.1675)
OKLCHoklch(62.5% 0.168 265.1)
XYZxyz(26.7316, 23.6855, 82.5036)
Luminance0.2369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5581EC #ECC055
analogous
#55CCEC #5581EC #7555EC
triadic
#5581EC #EC5581 #81EC55
tetradic
#5581EC #EC55CC #ECC055 #55EC75
square
#5581EC #EC55CC #ECC055 #55EC75
split-complementary
#5581EC #EC7555 #CCEC55
monochromatic
#1442B3 #1E58E6 #5581EC #8CAAF2 #C3D3F8

Accessibility & contrast

On white

3.66
#5581EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5581EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5581EC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5581EC#FFFFFF#000000##000000
##5581EC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF0
Deuteranopia (green-blind)
#317FEA
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5581ec;
/* rgb */ color: rgb(85, 129, 236);
/* oklch */ color: oklch(62.5% 0.168 265.1);
Tailwind
colors: {
  custom: {
    50: '#93a5f3',
    500: '#5581ec',
    950: '#000000',
  },
}
SCSS
$custom: #5581ec;
$custom-light: #93a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5581ec",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 222.517,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62503,
    "c": 0.16812,
    "h": 265.1
  },
  "luminance": 0.23688
}

Semantic roles & 50–950 ramp

primary
#5581EC
secondary
#EADAB3
accent
#9F09DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5581EC

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

Preview Lab → · Contrast checker → · Palette generator →

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