#5542D2#5542D2

#5542D2 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.210 H 281.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5542D2
RGBrgb(85, 66, 210)
HSLhsl(248, 62%, 54%)
HSVhsv(248, 69%, 82%)
CMYKcmyk(59.5%, 68.6%, 0%, 17.6%)
CIE-LABlab(38.69, 47.76, -71.54)
CIE-LCHlch(38.69, 86.02, 303.73°)
OKLaboklab(49.19% 0.0414 -0.2061)
OKLCHoklch(49.19% 0.21 281.4)
XYZxyz(17.3237, 10.4797, 62.0702)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542D2 #BFD242
analogous
#4277D2 #5542D2 #9D42D2
triadic
#5542D2 #D25542 #42D255
tetradic
#5542D2 #D24277 #BFD242 #42D29D
square
#5542D2 #D24277 #BFD242 #42D29D
split-complementary
#5542D2 #D29D42 #77D242
monochromatic
#2A1E7C #3B29AD #5542D2 #8173DE #AEA5EA

Accessibility & contrast

On white

6.78
#5542D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5542D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5542D2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542D2#FFFFFF#000000##FFFFFF
##5542D21.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0056CF
Tritanopia (blue-blind)
#006885
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5542d2;
/* rgb */ color: rgb(85, 66, 210);
/* oklch */ color: oklch(49.2% 0.210 281.4);
Tailwind
colors: {
  custom: {
    50: '#9278e1',
    500: '#5542d2',
    950: '#000000',
  },
}
SCSS
$custom: #5542d2;
$custom-light: #9278e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5542d2",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 210
  },
  "hsl": {
    "h": 247.917,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49194,
    "c": 0.21023,
    "h": 281.4
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#5542D2
secondary
#CED799
accent
#E543CF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5542D2

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

Preview Lab → · Contrast checker → · Palette generator →

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