#5556CA#5556CA

#5556CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.176 H 278.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5556CA
RGBrgb(85, 86, 202)
HSLhsl(239, 52%, 56%)
HSVhsv(239, 58%, 79%)
CMYKcmyk(57.9%, 57.4%, 0%, 20.8%)
CIE-LABlab(42.54, 33.39, -60.65)
CIE-LCHlch(42.54, 69.23, 298.83°)
OKLaboklab(51.81% 0.0243 -0.1741)
OKLCHoklch(51.81% 0.176 278)
XYZxyz(17.7314, 12.8499, 57.4116)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5556CA #CAC955
analogous
#5591CA #5556CA #8F55CA
triadic
#5556CA #CA5556 #56CA55
tetradic
#5556CA #CA5591 #CAC955 #55CA8F
square
#5556CA #CA5591 #CAC955 #55CA8F
split-complementary
#5556CA #CA8F55 #91CA55
monochromatic
#27287D #3637AC #5556CA #8484D9 #B2B3E7

Accessibility & contrast

On white

5.88
#5556CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5556CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5556CA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5556CA#FFFFFF#000000##FFFFFF
##5556CA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#047188
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5556ca;
/* rgb */ color: rgb(85, 86, 202);
/* oklch */ color: oklch(51.8% 0.176 278.0);
Tailwind
colors: {
  custom: {
    50: '#8f85db',
    500: '#5556ca',
    950: '#000000',
  },
}
SCSS
$custom: #5556ca;
$custom-light: #8f85db;
$custom-dark: #000000;
JSON
{
  "hex": "#5556ca",
  "rgb": {
    "r": 85,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 239.487,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.17575,
    "h": 278
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#5556CA
secondary
#D5D5A5
accent
#DB4CDC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #5556CA

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

Preview Lab → · Contrast checker → · Palette generator →

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