#5547CB#5547CB

#5547CB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.3% C 0.196 H 281.3°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5547CB
RGBrgb(85, 71, 203)
HSLhsl(246, 56%, 54%)
HSVhsv(246, 65%, 80%)
CMYKcmyk(58.1%, 65%, 0%, 20.4%)
CIE-LABlab(39.15, 42.74, -66.73)
CIE-LCHlch(39.15, 79.25, 302.64°)
OKLaboklab(49.35% 0.0382 -0.192)
OKLCHoklch(49.35% 0.196 281.3)
XYZxyz(16.7757, 10.7484, 57.6790)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5547CB #BDCB47
analogous
#477BCB #5547CB #9747CB
triadic
#5547CB #CB5547 #47CB55
tetradic
#5547CB #CB477B #BDCB47 #47CB97
square
#5547CB #CB477B #BDCB47 #47CB97
split-complementary
#5547CB #CB9747 #7BCB47
monochromatic
#2A2176 #3C2FA6 #5547CB #8177D8 #ADA6E6

Accessibility & contrast

On white

6.67
#5547CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5547CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5547CB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5547CB#FFFFFF#000000##FFFFFF
##5547CB1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#086883
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5547cb;
/* rgb */ color: rgb(85, 71, 203);
/* oklch */ color: oklch(49.3% 0.196 281.3);
Tailwind
colors: {
  custom: {
    50: '#907bdc',
    500: '#5547cb',
    950: '#000000',
  },
}
SCSS
$custom: #5547cb;
$custom-light: #907bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5547cb",
  "rgb": {
    "r": 85,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 246.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49347,
    "c": 0.19577,
    "h": 281.3
  },
  "luminance": 0.1075
}

Semantic roles & 50–950 ramp

primary
#5547CB
secondary
#CDD39B
accent
#DF49CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5547CB

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

Preview Lab → · Contrast checker → · Palette generator →

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