#5556EC#5556EC

#5556EC is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.220 H 276.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5556EC
RGBrgb(85, 86, 236)
HSLhsl(240, 80%, 63%)
HSVhsv(240, 64%, 93%)
CMYKcmyk(64%, 63.6%, 0%, 7.5%)
CIE-LABlab(45.14, 44.44, -75.81)
CIE-LCHlch(45.14, 87.87, 300.38°)
OKLaboklab(54.53% 0.0229 -0.2186)
OKLCHoklch(54.53% 0.22 276)
XYZxyz(22.2095, 14.6411, 80.9962)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5556EC #ECEB55
analogous
#55A1EC #5556EC #A055EC
triadic
#5556EC #EC5556 #56EC55
tetradic
#5556EC #EC55A1 #ECEB55 #55ECA0
square
#5556EC #EC55A1 #ECEB55 #55ECA0
split-complementary
#5556EC #ECA055 #A1EC55
monochromatic
#1415B3 #1E1FE6 #5556EC #8C8DF2 #C3C3F8

Accessibility & contrast

On white

5.35
#5556EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5556EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5556EC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5556EC#FFFFFF#000000##FFFFFF
##5556EC1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5556ec;
/* rgb */ color: rgb(85, 86, 236);
/* oklch */ color: oklch(54.5% 0.220 276.0);
Tailwind
colors: {
  custom: {
    50: '#9586f3',
    500: '#5556ec',
    950: '#000000',
  },
}
SCSS
$custom: #5556ec;
$custom-light: #9586f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5556ec",
  "rgb": {
    "r": 85,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 239.603,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.21978,
    "h": 276
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#5556EC
secondary
#EAE9B3
accent
#DB09DC
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5556EC

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

Preview Lab → · Contrast checker → · Palette generator →

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