#5542DF#5542DF

#5542DF is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.4% C 0.226 H 280.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5542DF
RGBrgb(85, 66, 223)
HSLhsl(247, 71%, 57%)
HSVhsv(247, 70%, 87%)
CMYKcmyk(61.9%, 70.4%, 0%, 12.5%)
CIE-LABlab(39.84, 51.72, -77.12)
CIE-LCHlch(39.84, 92.85, 303.85°)
OKLaboklab(50.37% 0.0392 -0.2224)
OKLCHoklch(50.37% 0.226 280)
XYZxyz(19.0096, 11.1540, 70.9489)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542DF #CCDF42
analogous
#427EDF #5542DF #A442DF
triadic
#5542DF #DF5542 #42DF55
tetradic
#5542DF #DF427E #CCDF42 #42DFA4
square
#5542DF #DF427E #CCDF42 #42DFA4
split-complementary
#5542DF #DFA442 #7EDF42
monochromatic
#26188E #3521C3 #5542DF #8476E8 #B3ABF1

Accessibility & contrast

On white

6.50
#5542DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5542DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5542DF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542DF#FFFFFF#000000##FFFFFF
##5542DF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E4
Deuteranopia (green-blind)
#0058DC
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5542df;
/* rgb */ color: rgb(85, 66, 223);
/* oklch */ color: oklch(50.4% 0.226 280.0);
Tailwind
colors: {
  custom: {
    50: '#9479ea',
    500: '#5542df',
    950: '#000000',
  },
}
SCSS
$custom: #5542df;
$custom-light: #9479ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5542df",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 223
  },
  "hsl": {
    "h": 247.261,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50367,
    "c": 0.22586,
    "h": 280
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#5542DF
secondary
#D7DF9E
accent
#EE3AD8
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5542DF

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

Preview Lab → · Contrast checker → · Palette generator →

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