#5551CC#5551CC

#5551CC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.185 H 279.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5551CC
RGBrgb(85, 81, 204)
HSLhsl(242, 55%, 56%)
HSVhsv(242, 60%, 80%)
CMYKcmyk(58.3%, 60.3%, 0%, 20%)
CIE-LABlab(41.49, 37.09, -63.50)
CIE-LCHlch(41.49, 73.54, 300.29°)
OKLaboklab(51.08% 0.0291 -0.1825)
OKLCHoklch(51.08% 0.185 279.1)
XYZxyz(17.5844, 12.1745, 58.5383)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5551CC #C8CC51
analogous
#518ACC #5551CC #9251CC
triadic
#5551CC #CC5551 #51CC55
tetradic
#5551CC #CC518A #C8CC51 #51CC92
square
#5551CC #CC518A #C8CC51 #51CC92
split-complementary
#5551CC #CC9251 #8ACC51
monochromatic
#28257E #3733AD #5551CC #8380DA #B1B0E8

Accessibility & contrast

On white

6.11
#5551CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5551CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5551CC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5551CC#FFFFFF#000000##FFFFFF
##5551CC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5551cc;
/* rgb */ color: rgb(85, 81, 204);
/* oklch */ color: oklch(51.1% 0.185 279.1);
Tailwind
colors: {
  custom: {
    50: '#9082dc',
    500: '#5551cc',
    950: '#000000',
  },
}
SCSS
$custom: #5551cc;
$custom-light: #9082dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5551cc",
  "rgb": {
    "r": 85,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 241.951,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5108,
    "c": 0.18477,
    "h": 279.1
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#5551CC
secondary
#D4D6A3
accent
#DE4AD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5551CC

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

Preview Lab → · Contrast checker → · Palette generator →

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