#5556CB#5556CB

#5556CB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.177 H 277.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5556CB
RGBrgb(85, 86, 203)
HSLhsl(239, 53%, 56%)
HSVhsv(239, 58%, 80%)
CMYKcmyk(58.1%, 57.6%, 0%, 20.4%)
CIE-LABlab(42.61, 33.71, -61.11)
CIE-LCHlch(42.61, 69.79, 298.88°)
OKLaboklab(51.88% 0.0243 -0.1754)
OKLCHoklch(51.88% 0.177 277.9)
XYZxyz(17.8502, 12.8974, 58.0372)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5556CB #CBCA55
analogous
#5591CB #5556CB #8F55CB
triadic
#5556CB #CB5556 #56CB55
tetradic
#5556CB #CB5591 #CBCA55 #55CB8F
square
#5556CB #CB5591 #CBCA55 #55CB8F
split-complementary
#5556CB #CB8F55 #91CB55
monochromatic
#27287F #3536AE #5556CB #8485D9 #B3B3E8

Accessibility & contrast

On white

5.87
#5556CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5556CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5556CB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5556CB#FFFFFF#000000##FFFFFF
##5556CB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5556cb;
/* rgb */ color: rgb(85, 86, 203);
/* oklch */ color: oklch(51.9% 0.177 277.9);
Tailwind
colors: {
  custom: {
    50: '#8f85dc',
    500: '#5556cb',
    950: '#000000',
  },
}
SCSS
$custom: #5556cb;
$custom-light: #8f85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5556cb",
  "rgb": {
    "r": 85,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 239.492,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51881,
    "c": 0.17709,
    "h": 277.9
  },
  "luminance": 0.12899
}

Semantic roles & 50–950 ramp

primary
#5556CB
secondary
#D6D6A6
accent
#DB4BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5556CB

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

Preview Lab → · Contrast checker → · Palette generator →

#5556CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva