#5556CD#5556CD

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

Color values

HEX#5556CD
RGBrgb(85, 86, 205)
HSLhsl(240, 55%, 57%)
HSVhsv(240, 59%, 80%)
CMYKcmyk(58.5%, 58%, 0%, 19.6%)
CIE-LABlab(42.75, 34.36, -62.03)
CIE-LCHlch(42.75, 70.91, 298.99°)
OKLaboklab(52.03% 0.0243 -0.1781)
OKLCHoklch(52.03% 0.18 277.8)
XYZxyz(18.0900, 12.9933, 59.3005)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5556CD #CDCC55
analogous
#5592CD #5556CD #9055CD
triadic
#5556CD #CD5556 #56CD55
tetradic
#5556CD #CD5592 #CDCC55 #55CD90
square
#5556CD #CD5592 #CDCC55 #55CD90
split-complementary
#5556CD #CD9055 #92CD55
monochromatic
#262782 #3435B1 #5556CD #8485DB #B4B4E9

Accessibility & contrast

On white

5.83
#5556CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5556CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5556CD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5556CD#FFFFFF#000000##FFFFFF
##5556CD1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5556cd;
/* rgb */ color: rgb(85, 86, 205);
/* oklch */ color: oklch(52.0% 0.180 277.8);
Tailwind
colors: {
  custom: {
    50: '#9085dd',
    500: '#5556cd',
    950: '#000000',
  },
}
SCSS
$custom: #5556cd;
$custom-light: #9085dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5556cd",
  "rgb": {
    "r": 85,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 239.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.17976,
    "h": 277.8
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

primary
#5556CD
secondary
#D7D7A6
accent
#DD4ADE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5556CD

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

Preview Lab → · Contrast checker → · Palette generator →

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