#5542E1#5542E1

#5542E1 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.5% C 0.228 H 279.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5542E1
RGBrgb(85, 66, 225)
HSLhsl(247, 73%, 57%)
HSVhsv(247, 71%, 88%)
CMYKcmyk(62.2%, 70.7%, 0%, 11.8%)
CIE-LABlab(40.02, 52.33, -77.96)
CIE-LCHlch(40.02, 93.89, 303.87°)
OKLaboklab(50.55% 0.0389 -0.2249)
OKLCHoklch(50.55% 0.228 279.8)
XYZxyz(19.2808, 11.2625, 72.3774)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542E1 #CEE142
analogous
#427EE1 #5542E1 #A542E1
triadic
#5542E1 #E15542 #42E155
tetradic
#5542E1 #E1427E #CEE142 #42E1A5
square
#5542E1 #E1427E #CEE142 #42E1A5
split-complementary
#5542E1 #E1A542 #7EE142
monochromatic
#261792 #331FC6 #5542E1 #8577E9 #B4ACF2

Accessibility & contrast

On white

6.46
#5542E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5542E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5542E1
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542E1#FFFFFF#000000##FFFFFF
##5542E11.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E6
Deuteranopia (green-blind)
#0058DE
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5542e1;
/* rgb */ color: rgb(85, 66, 225);
/* oklch */ color: oklch(50.5% 0.228 279.8);
Tailwind
colors: {
  custom: {
    50: '#9579ec',
    500: '#5542e1',
    950: '#000000',
  },
}
SCSS
$custom: #5542e1;
$custom-light: #9579ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5542e1",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 247.17,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5055,
    "c": 0.22823,
    "h": 279.8
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#5542E1
secondary
#D8E09F
accent
#EF38D9
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5542E1

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

Preview Lab → · Contrast checker → · Palette generator →

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