#5542C9#5542C9

#5542C9 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.4% C 0.199 H 282.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5542C9
RGBrgb(85, 66, 201)
HSLhsl(248, 56%, 52%)
HSVhsv(248, 67%, 79%)
CMYKcmyk(57.7%, 67.2%, 0%, 21.2%)
CIE-LABlab(37.92, 45.00, -67.59)
CIE-LCHlch(37.92, 81.20, 303.65°)
OKLaboklab(48.41% 0.0428 -0.1945)
OKLCHoklch(48.41% 0.199 282.4)
XYZxyz(16.2339, 10.0437, 56.3302)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5542C9 #B6C942
analogous
#4273C9 #5542C9 #9842C9
triadic
#5542C9 #C95542 #42C955
tetradic
#5542C9 #C94273 #B6C942 #42C998
square
#5542C9 #C94273 #B6C942 #42C998
split-complementary
#5542C9 #C99842 #73C942
monochromatic
#2B2070 #3E2EA0 #5542C9 #8072D7 #ABA1E4

Accessibility & contrast

On white

6.98
#5542C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5542C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5542C9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5542C9#FFFFFF#000000##FFFFFF
##5542C91.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#116580
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5542c9;
/* rgb */ color: rgb(85, 66, 201);
/* oklch */ color: oklch(48.4% 0.199 282.4);
Tailwind
colors: {
  custom: {
    50: '#9178da',
    500: '#5542c9',
    950: '#000000',
  },
}
SCSS
$custom: #5542c9;
$custom-light: #9178da;
$custom-dark: #000000;
JSON
{
  "hex": "#5542c9",
  "rgb": {
    "r": 85,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 248.444,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48405,
    "c": 0.19917,
    "h": 282.4
  },
  "luminance": 0.10045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5542C9

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

Preview Lab → · Contrast checker → · Palette generator →

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