#5542CB#5542CB

#5542CB is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.202 H 282.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5542CB
RGBrgb(85, 66, 203)
HSLhsl(248, 57%, 53%)
HSVhsv(248, 67%, 80%)
CMYKcmyk(58.1%, 67.5%, 0%, 20.4%)
CIE-LABlab(38.09, 45.61, -68.47)
CIE-LCHlch(38.09, 82.27, 303.67°)
OKLaboklab(48.58% 0.0425 -0.1971)
OKLCHoklch(48.58% 0.202 282.2)
XYZxyz(16.4707, 10.1384, 57.5773)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542CB #B8CB42
analogous
#4274CB #5542CB #9942CB
triadic
#5542CB #CB5542 #42CB55
tetradic
#5542CB #CB4274 #B8CB42 #42CB99
square
#5542CB #CB4274 #B8CB42 #42CB99
split-complementary
#5542CB #CB9942 #74CB42
monochromatic
#2B2073 #3D2DA3 #5542CB #8072D8 #ABA2E5

Accessibility & contrast

On white

6.94
#5542CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5542CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5542CB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542CB#FFFFFF#000000##FFFFFF
##5542CB1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#0A6681
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5542cb;
/* rgb */ color: rgb(85, 66, 203);
/* oklch */ color: oklch(48.6% 0.202 282.2);
Tailwind
colors: {
  custom: {
    50: '#9178dc',
    500: '#5542cb',
    950: '#000000',
  },
}
SCSS
$custom: #5542cb;
$custom-light: #9178dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5542cb",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 248.321,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48579,
    "c": 0.20165,
    "h": 282.2
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#5542CB
secondary
#CAD297
accent
#E048CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5542CB

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

Preview Lab → · Contrast checker → · Palette generator →

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