#5547BA#5547BA

#5547BA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.9% C 0.174 H 283.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5547BA
RGBrgb(85, 71, 186)
HSLhsl(247, 45%, 50%)
HSVhsv(247, 62%, 73%)
CMYKcmyk(54.3%, 61.8%, 0%, 27.1%)
CIE-LABlab(37.81, 37.42, -59.00)
CIE-LCHlch(37.81, 69.87, 302.38°)
OKLaboklab(47.95% 0.0397 -0.1693)
OKLCHoklch(47.95% 0.174 283.2)
XYZxyz(14.8598, 9.9821, 47.5886)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5547BA #ACBA47
analogous
#4773BA #5547BA #8E47BA
triadic
#5547BA #BA5547 #47BA55
tetradic
#5547BA #BA4773 #ACBA47 #47BA8E
square
#5547BA #BA4773 #ACBA47 #47BA8E
split-complementary
#5547BA #BA8E47 #73BA47
monochromatic
#2C2562 #40358E #5547BA #7E74CB #A7A0DB

Accessibility & contrast

On white

7.01
#5547BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5547BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5547BA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5547BA#FFFFFF#000000##FFFFFF
##5547BA1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#28637A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5547ba;
/* rgb */ color: rgb(85, 71, 186);
/* oklch */ color: oklch(47.9% 0.174 283.2);
Tailwind
colors: {
  custom: {
    50: '#8e7bd0',
    500: '#5547ba',
    950: '#000000',
  },
}
SCSS
$custom: #5547ba;
$custom-light: #8e7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5547ba",
  "rgb": {
    "r": 85,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 247.304,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4795,
    "c": 0.17389,
    "h": 283.2
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#5547BA
secondary
#C2C895
accent
#D553C5
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5547BA

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

Preview Lab → · Contrast checker → · Palette generator →

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