#5542BC#5542BC

#5542BC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.3% C 0.183 H 284.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#5542BC
RGBrgb(85, 66, 188)
HSLhsl(249, 48%, 50%)
HSVhsv(249, 65%, 74%)
CMYKcmyk(54.8%, 64.9%, 0%, 26.3%)
CIE-LABlab(36.85, 41.00, -61.74)
CIE-LCHlch(36.85, 74.11, 303.59°)
OKLaboklab(47.3% 0.0444 -0.1773)
OKLCHoklch(47.3% 0.183 284)
XYZxyz(14.7689, 9.4577, 48.6145)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542BC #A9BC42
analogous
#426CBC #5542BC #9242BC
triadic
#5542BC #BC5542 #42BC55
tetradic
#5542BC #BC426C #A9BC42 #42BC92
square
#5542BC #BC426C #A9BC42 #42BC92
split-complementary
#5542BC #BC9242 #6CBC42
monochromatic
#2C2261 #41328F #5542BC #7D6FCC #A69CDC

Accessibility & contrast

On white

7.26
#5542BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5542BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5542BC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542BC#FFFFFF#000000##FFFFFF
##5542BC1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#276079
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5542bc;
/* rgb */ color: rgb(85, 66, 188);
/* oklch */ color: oklch(47.3% 0.183 284.0);
Tailwind
colors: {
  custom: {
    50: '#8e77d1',
    500: '#5542bc',
    950: '#000000',
  },
}
SCSS
$custom: #5542bc;
$custom-light: #8e77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5542bc",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 188
  },
  "hsl": {
    "h": 249.344,
    "s": 48.031,
    "l": 49.804
  },
  "oklch": {
    "l": 0.473,
    "c": 0.18282,
    "h": 284
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#5542BC
secondary
#C0C991
accent
#D850C3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5542BC

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

Preview Lab → · Contrast checker → · Palette generator →

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