#5557CC#5557CC

#5557CC is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.177 H 277.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5557CC
RGBrgb(85, 87, 204)
HSLhsl(239, 54%, 57%)
HSVhsv(239, 58%, 80%)
CMYKcmyk(58.3%, 57.4%, 0%, 20%)
CIE-LABlab(42.92, 33.42, -61.18)
CIE-LCHlch(42.92, 69.71, 298.65°)
OKLaboklab(52.14% 0.0234 -0.1756)
OKLCHoklch(52.14% 0.177 277.6)
XYZxyz(18.0501, 13.1060, 58.6936)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5557CC #CCCA55
analogous
#5593CC #5557CC #8F55CC
triadic
#5557CC #CC5557 #57CC55
tetradic
#5557CC #CC5593 #CCCA55 #55CC8F
square
#5557CC #CC5593 #CCCA55 #55CC8F
split-complementary
#5557CC #CC8F55 #93CC55
monochromatic
#262880 #3537AF #5557CC #8486DA #B3B4E8

Accessibility & contrast

On white

5.80
#5557CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5557CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5557CC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5557CC#FFFFFF#000000##FFFFFF
##5557CC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5557cc;
/* rgb */ color: rgb(85, 87, 204);
/* oklch */ color: oklch(52.1% 0.177 277.6);
Tailwind
colors: {
  custom: {
    50: '#9086dc',
    500: '#5557cc',
    950: '#000000',
  },
}
SCSS
$custom: #5557cc;
$custom-light: #9086dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5557cc",
  "rgb": {
    "r": 85,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 238.992,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.17715,
    "h": 277.6
  },
  "luminance": 0.13107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5557CC

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

Preview Lab → · Contrast checker → · Palette generator →

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