#5542E7#5542E7

#5542E7 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.1% C 0.235 H 279.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5542E7
RGBrgb(85, 66, 231)
HSLhsl(247, 77%, 58%)
HSVhsv(247, 71%, 91%)
CMYKcmyk(63.2%, 71.4%, 0%, 9.4%)
CIE-LABlab(40.57, 54.14, -80.48)
CIE-LCHlch(40.57, 96.99, 303.93°)
OKLaboklab(51.11% 0.0377 -0.2322)
OKLCHoklch(51.11% 0.235 279.2)
XYZxyz(20.1137, 11.5956, 76.7641)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542E7 #D4E742
analogous
#4281E7 #5542E7 #A742E7
triadic
#5542E7 #E75542 #42E755
tetradic
#5542E7 #E74281 #D4E742 #42E7A7
square
#5542E7 #E74281 #D4E742 #42E7A7
split-complementary
#5542E7 #E7A742 #81E742
monochromatic
#23149B #301BD1 #5542E7 #8678EE #B7AFF5

Accessibility & contrast

On white

6.33
#5542E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5542E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5542E7
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542E7#FFFFFF#000000##FFFFFF
##5542E71.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EC
Deuteranopia (green-blind)
#0059E4
Tritanopia (blue-blind)
#007090
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5542e7;
/* rgb */ color: rgb(85, 66, 231);
/* oklch */ color: oklch(51.1% 0.235 279.2);
Tailwind
colors: {
  custom: {
    50: '#9679f0',
    500: '#5542e7',
    950: '#000000',
  },
}
SCSS
$custom: #5542e7;
$custom-light: #9679f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5542e7",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 231
  },
  "hsl": {
    "h": 246.909,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51105,
    "c": 0.2353,
    "h": 279.2
  },
  "luminance": 0.11597
}

Semantic roles & 50–950 ramp

primary
#5542E7
secondary
#DCE3A2
accent
#F434DE
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5542E7

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

Preview Lab → · Contrast checker → · Palette generator →

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