#5542CF#5542CF

#5542CF is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.9% C 0.207 H 281.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5542CF
RGBrgb(85, 66, 207)
HSLhsl(248, 59%, 54%)
HSVhsv(248, 68%, 81%)
CMYKcmyk(58.9%, 68.1%, 0%, 18.8%)
CIE-LABlab(38.43, 46.84, -70.23)
CIE-LCHlch(38.43, 84.42, 303.70°)
OKLaboklab(48.93% 0.0419 -0.2023)
OKLCHoklch(48.93% 0.207 281.7)
XYZxyz(16.9535, 10.3316, 60.1202)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542CF #BCCF42
analogous
#4275CF #5542CF #9B42CF
triadic
#5542CF #CF5542 #42CF55
tetradic
#5542CF #CF4275 #BCCF42 #42CF9B
square
#5542CF #CF4275 #BCCF42 #42CF9B
split-complementary
#5542CF #CF9B42 #75CF42
monochromatic
#2B1F78 #3C2BA9 #5542CF #8173DB #ADA4E8

Accessibility & contrast

On white

6.85
#5542CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5542CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5542CF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542CF#FFFFFF#000000##FFFFFF
##5542CF1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#006783
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5542cf;
/* rgb */ color: rgb(85, 66, 207);
/* oklch */ color: oklch(48.9% 0.207 281.7);
Tailwind
colors: {
  custom: {
    50: '#9278df',
    500: '#5542cf',
    950: '#000000',
  },
}
SCSS
$custom: #5542cf;
$custom-light: #9278df;
$custom-dark: #000000;
JSON
{
  "hex": "#5542cf",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 248.085,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48929,
    "c": 0.20656,
    "h": 281.7
  },
  "luminance": 0.10333
}

Semantic roles & 50–950 ramp

primary
#5542CF
secondary
#CCD598
accent
#E345CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5542CF

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

Preview Lab → · Contrast checker → · Palette generator →

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