#5551CD#5551CD

#5551CD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.186 H 279.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5551CD
RGBrgb(85, 81, 205)
HSLhsl(242, 55%, 56%)
HSVhsv(242, 60%, 80%)
CMYKcmyk(58.5%, 60.5%, 0%, 19.6%)
CIE-LABlab(41.57, 37.42, -63.96)
CIE-LCHlch(41.57, 74.10, 300.33°)
OKLaboklab(51.16% 0.029 -0.1838)
OKLCHoklch(51.16% 0.186 279)
XYZxyz(17.7047, 12.2227, 59.1720)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5551CD #C9CD51
analogous
#518BCD #5551CD #9351CD
triadic
#5551CD #CD5551 #51CD55
tetradic
#5551CD #CD518B #C9CD51 #51CD93
square
#5551CD #CD518B #C9CD51 #51CD93
split-complementary
#5551CD #CD9351 #8BCD51
monochromatic
#27257F #3632AF #5551CD #8381DB #B2B0E8

Accessibility & contrast

On white

6.10
#5551CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5551CD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5551CD#FFFFFF#000000##FFFFFF
##5551CD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5551cd;
/* rgb */ color: rgb(85, 81, 205);
/* oklch */ color: oklch(51.2% 0.186 279.0);
Tailwind
colors: {
  custom: {
    50: '#9082dd',
    500: '#5551cd',
    950: '#000000',
  },
}
SCSS
$custom: #5551cd;
$custom-light: #9082dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5551cd",
  "rgb": {
    "r": 85,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 241.935,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.18609,
    "h": 279
  },
  "luminance": 0.12224
}

Semantic roles & 50–950 ramp

primary
#5551CD
secondary
#D5D7A3
accent
#DF49DA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5551CD

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

Preview Lab → · Contrast checker → · Palette generator →

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