#5542DC#5542DC

#5542DC is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.1% C 0.222 H 280.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5542DC
RGBrgb(85, 66, 220)
HSLhsl(247, 69%, 56%)
HSVhsv(247, 70%, 86%)
CMYKcmyk(61.4%, 70%, 0%, 13.7%)
CIE-LABlab(39.57, 50.81, -75.84)
CIE-LCHlch(39.57, 91.29, 303.82°)
OKLaboklab(50.09% 0.0398 -0.2187)
OKLCHoklch(50.09% 0.222 280.3)
XYZxyz(18.6087, 10.9936, 68.8376)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542DC #C9DC42
analogous
#427CDC #5542DC #A242DC
triadic
#5542DC #DC5542 #42DC55
tetradic
#5542DC #DC427C #C9DC42 #42DCA2
square
#5542DC #DC427C #C9DC42 #42DCA2
split-complementary
#5542DC #DCA242 #7CDC42
monochromatic
#271A8A #3623BE #5542DC #8376E6 #B2A9EF

Accessibility & contrast

On white

6.56
#5542DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5542DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5542DC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542DC#FFFFFF#000000##FFFFFF
##5542DC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E1
Deuteranopia (green-blind)
#0057D9
Tritanopia (blue-blind)
#006C8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5542dc;
/* rgb */ color: rgb(85, 66, 220);
/* oklch */ color: oklch(50.1% 0.222 280.3);
Tailwind
colors: {
  custom: {
    50: '#9478e8',
    500: '#5542dc',
    950: '#000000',
  },
}
SCSS
$custom: #5542dc;
$custom-light: #9478e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5542dc",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 220
  },
  "hsl": {
    "h": 247.403,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50093,
    "c": 0.22229,
    "h": 280.3
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#5542DC
secondary
#D5DD9D
accent
#EC3CD6
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5542DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5542DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva