#5542E2#5542E2

#5542E2 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.6% C 0.229 H 279.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5542E2
RGBrgb(85, 66, 226)
HSLhsl(247, 73%, 57%)
HSVhsv(247, 71%, 89%)
CMYKcmyk(62.4%, 70.8%, 0%, 11.4%)
CIE-LABlab(40.11, 52.63, -78.38)
CIE-LCHlch(40.11, 94.41, 303.88°)
OKLaboklab(50.64% 0.0387 -0.2261)
OKLCHoklch(50.64% 0.229 279.7)
XYZxyz(19.4176, 11.3172, 73.0979)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542E2 #CFE242
analogous
#427FE2 #5542E2 #A542E2
triadic
#5542E2 #E25542 #42E255
tetradic
#5542E2 #E2427F #CFE242 #42E2A5
square
#5542E2 #E2427F #CFE242 #42E2A5
split-complementary
#5542E2 #E2A542 #7FE242
monochromatic
#251793 #331FC8 #5542E2 #8577EA #B4ACF2

Accessibility & contrast

On white

6.43
#5542E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5542E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5542E2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542E2#FFFFFF#000000##FFFFFF
##5542E21.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5542e2;
/* rgb */ color: rgb(85, 66, 226);
/* oklch */ color: oklch(50.6% 0.229 279.7);
Tailwind
colors: {
  custom: {
    50: '#9579ec',
    500: '#5542e2',
    950: '#000000',
  },
}
SCSS
$custom: #5542e2;
$custom-light: #9579ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5542e2",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 247.125,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50642,
    "c": 0.22941,
    "h": 279.7
  },
  "luminance": 0.11319
}

Semantic roles & 50–950 ramp

primary
#5542E2
secondary
#D9E09F
accent
#F038DA
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5542E2

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

Preview Lab → · Contrast checker → · Palette generator →

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