#5556CC#5556CC

#5556CC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.178 H 277.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5556CC
RGBrgb(85, 86, 204)
HSLhsl(239, 54%, 57%)
HSVhsv(239, 58%, 80%)
CMYKcmyk(58.3%, 57.8%, 0%, 20%)
CIE-LABlab(42.68, 34.04, -61.57)
CIE-LCHlch(42.68, 70.35, 298.93°)
OKLaboklab(51.96% 0.0243 -0.1768)
OKLCHoklch(51.96% 0.178 277.8)
XYZxyz(17.9697, 12.9452, 58.6668)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5556CC #CCCB55
analogous
#5592CC #5556CC #9055CC
triadic
#5556CC #CC5556 #56CC55
tetradic
#5556CC #CC5592 #CCCB55 #55CC90
square
#5556CC #CC5592 #CCCB55 #55CC90
split-complementary
#5556CC #CC9055 #92CC55
monochromatic
#262780 #3536AF #5556CC #8485DA #B3B4E8

Accessibility & contrast

On white

5.85
#5556CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5556CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5556CC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5556CC#FFFFFF#000000##FFFFFF
##5556CC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5556cc;
/* rgb */ color: rgb(85, 86, 204);
/* oklch */ color: oklch(52.0% 0.178 277.8);
Tailwind
colors: {
  custom: {
    50: '#9085dc',
    500: '#5556cc',
    950: '#000000',
  },
}
SCSS
$custom: #5556cc;
$custom-light: #9085dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5556cc",
  "rgb": {
    "r": 85,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 239.496,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51958,
    "c": 0.17843,
    "h": 277.8
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

primary
#5556CC
secondary
#D7D6A6
accent
#DC4BDD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5556CC

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

Preview Lab → · Contrast checker → · Palette generator →

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