#5581CC#5581CC

#5581CC is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.125 H 260.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5581CC
RGBrgb(85, 129, 204)
HSLhsl(218, 54%, 57%)
HSVhsv(218, 58%, 80%)
CMYKcmyk(58.3%, 36.8%, 0%, 20%)
CIE-LABlab(54.02, 7.47, -43.41)
CIE-LCHlch(54.02, 44.05, 279.77°)
OKLaboklab(60.58% -0.0206 -0.123)
OKLCHoklch(60.58% 0.125 260.5)
XYZxyz(22.4919, 21.9895, 60.1742)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5581CC #CCA055
analogous
#55BDCC #5581CC #6555CC
triadic
#5581CC #CC5581 #81CC55
tetradic
#5581CC #CC55BD #CCA055 #55CC65
square
#5581CC #CC55BD #CCA055 #55CC65
split-complementary
#5581CC #CC6555 #BDCC55
monochromatic
#264880 #3562AF #5581CC #84A4DA #B3C7E8

Accessibility & contrast

On white

3.89
#5581CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5581CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5581CC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5581CC#FFFFFF#000000##000000
##5581CC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CF
Deuteranopia (green-blind)
#527CCA
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5581cc;
/* rgb */ color: rgb(85, 129, 204);
/* oklch */ color: oklch(60.6% 0.125 260.5);
Tailwind
colors: {
  custom: {
    50: '#8ea5dc',
    500: '#5581cc',
    950: '#000000',
  },
}
SCSS
$custom: #5581cc;
$custom-light: #8ea5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5581cc",
  "rgb": {
    "r": 85,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 217.815,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.12469,
    "h": 260.5
  },
  "luminance": 0.21991
}

Semantic roles & 50–950 ramp

primary
#5581CC
secondary
#D7C5A6
accent
#A74BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #5581CC

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

Preview Lab → · Contrast checker → · Palette generator →

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