#5542CA#5542CA

#5542CA is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.200 H 282.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5542CA
RGBrgb(85, 66, 202)
HSLhsl(248, 56%, 53%)
HSVhsv(248, 67%, 79%)
CMYKcmyk(57.9%, 67.3%, 0%, 20.8%)
CIE-LABlab(38.01, 45.31, -68.03)
CIE-LCHlch(38.01, 81.74, 303.66°)
OKLaboklab(48.49% 0.0426 -0.1958)
OKLCHoklch(48.49% 0.2 282.3)
XYZxyz(16.3519, 10.0909, 56.9517)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542CA #B7CA42
analogous
#4273CA #5542CA #9942CA
triadic
#5542CA #CA5542 #42CA55
tetradic
#5542CA #CA4273 #B7CA42 #42CA99
square
#5542CA #CA4273 #B7CA42 #42CA99
split-complementary
#5542CA #CA9942 #73CA42
monochromatic
#2B2072 #3E2DA2 #5542CA #8072D7 #ABA2E5

Accessibility & contrast

On white

6.96
#5542CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5542CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5542CA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542CA#FFFFFF#000000##FFFFFF
##5542CA1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#0E6580
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5542ca;
/* rgb */ color: rgb(85, 66, 202);
/* oklch */ color: oklch(48.5% 0.200 282.3);
Tailwind
colors: {
  custom: {
    50: '#9178db',
    500: '#5542ca',
    950: '#000000',
  },
}
SCSS
$custom: #5542ca;
$custom-light: #9178db;
$custom-dark: #000000;
JSON
{
  "hex": "#5542ca",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 248.382,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48492,
    "c": 0.20041,
    "h": 282.3
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#5542CA
secondary
#C9D196
accent
#DF48CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5542CA

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

Preview Lab → · Contrast checker → · Palette generator →

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