#5547C2#5547C2

#5547C2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.6% C 0.184 H 282.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#5547C2
RGBrgb(85, 71, 194)
HSLhsl(247, 50%, 52%)
HSVhsv(247, 63%, 76%)
CMYKcmyk(56.2%, 63.4%, 0%, 23.9%)
CIE-LABlab(38.43, 39.92, -62.68)
CIE-LCHlch(38.43, 74.31, 302.49°)
OKLaboklab(48.6% 0.0391 -0.1801)
OKLCHoklch(48.6% 0.184 282.2)
XYZxyz(15.7341, 10.3318, 52.1936)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5547C2 #B4C247
analogous
#4777C2 #5547C2 #9247C2
triadic
#5547C2 #C25547 #47C255
tetradic
#5547C2 #C24777 #B4C247 #47C292
square
#5547C2 #C24777 #B4C247 #47C292
split-complementary
#5547C2 #C29247 #77C247
monochromatic
#2C246B #3E3399 #5547C2 #7F75D1 #AAA3E0

Accessibility & contrast

On white

6.85
#5547C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5547C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5547C2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5547C2#FFFFFF#000000##FFFFFF
##5547C21.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#1E657E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5547c2;
/* rgb */ color: rgb(85, 71, 194);
/* oklch */ color: oklch(48.6% 0.184 282.2);
Tailwind
colors: {
  custom: {
    50: '#8f7bd5',
    500: '#5547c2',
    950: '#000000',
  },
}
SCSS
$custom: #5547c2;
$custom-light: #8f7bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5547c2",
  "rgb": {
    "r": 85,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 246.829,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48598,
    "c": 0.18429,
    "h": 282.2
  },
  "luminance": 0.10333
}

Semantic roles & 50–950 ramp

primary
#5547C2
secondary
#C7CD97
accent
#DA4ECA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5547C2

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

Preview Lab → · Contrast checker → · Palette generator →

#5547C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva