#5542EA#5542EA

#5542EA is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.4% C 0.239 H 279.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5542EA
RGBrgb(85, 66, 234)
HSLhsl(247, 80%, 59%)
HSVhsv(247, 72%, 92%)
CMYKcmyk(63.7%, 71.8%, 0%, 8.2%)
CIE-LABlab(40.84, 55.04, -81.72)
CIE-LCHlch(40.84, 98.53, 303.96°)
OKLaboklab(51.39% 0.0372 -0.2359)
OKLCHoklch(51.39% 0.239 279)
XYZxyz(20.5410, 11.7666, 79.0147)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542EA #D7EA42
analogous
#4283EA #5542EA #A942EA
triadic
#5542EA #EA5542 #42EA55
tetradic
#5542EA #EA4283 #D7EA42 #42EAA9
square
#5542EA #EA4283 #D7EA42 #42EAA9
split-complementary
#5542EA #EAA942 #83EA42
monochromatic
#2212A0 #2D18D7 #5542EA #8779F0 #B8B0F6

Accessibility & contrast

On white

6.26
#5542EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5542EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5542EA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542EA#FFFFFF#000000##FFFFFF
##5542EA1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EF
Deuteranopia (green-blind)
#005AE7
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5542ea;
/* rgb */ color: rgb(85, 66, 234);
/* oklch */ color: oklch(51.4% 0.239 279.0);
Tailwind
colors: {
  custom: {
    50: '#9679f2',
    500: '#5542ea',
    950: '#000000',
  },
}
SCSS
$custom: #5542ea;
$custom-light: #9679f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5542ea",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 234
  },
  "hsl": {
    "h": 246.786,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.51386,
    "c": 0.2388,
    "h": 279
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

primary
#5542EA
secondary
#DEE5A3
accent
#F631E0
background
#FAF7FF
surface
#F4EDFE
border
#CEC8D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5542EA

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

Preview Lab → · Contrast checker → · Palette generator →

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