#5542C8#5542C8

#5542C8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.3% C 0.198 H 282.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5542C8
RGBrgb(85, 66, 200)
HSLhsl(249, 55%, 52%)
HSVhsv(249, 67%, 78%)
CMYKcmyk(57.5%, 67%, 0%, 21.6%)
CIE-LABlab(37.84, 44.69, -67.14)
CIE-LCHlch(37.84, 80.66, 303.65°)
OKLaboklab(48.32% 0.0429 -0.1932)
OKLCHoklch(48.32% 0.198 282.5)
XYZxyz(16.1166, 9.9968, 55.7127)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542C8 #B5C842
analogous
#4272C8 #5542C8 #9842C8
triadic
#5542C8 #C85542 #42C855
tetradic
#5542C8 #C84272 #B5C842 #42C898
square
#5542C8 #C84272 #B5C842 #42C898
split-complementary
#5542C8 #C89842 #72C842
monochromatic
#2C206F #3E2E9F #5542C8 #8071D6 #AAA1E4

Accessibility & contrast

On white

7.00
#5542C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5542C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5542C8
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542C8#FFFFFF#000000##FFFFFF
##5542C81.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#13657F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5542c8;
/* rgb */ color: rgb(85, 66, 200);
/* oklch */ color: oklch(48.3% 0.198 282.5);
Tailwind
colors: {
  custom: {
    50: '#9078da',
    500: '#5542c8',
    950: '#000000',
  },
}
SCSS
$custom: #5542c8;
$custom-light: #9078da;
$custom-dark: #000000;
JSON
{
  "hex": "#5542c8",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 248.507,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48318,
    "c": 0.19793,
    "h": 282.5
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#5542C8
secondary
#C8D096
accent
#DE4AC9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5542C8

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

Preview Lab → · Contrast checker → · Palette generator →

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