#5546C2#5546C2

#5546C2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.186 H 282.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5546C2
RGBrgb(85, 70, 194)
HSLhsl(247, 50%, 52%)
HSVhsv(247, 64%, 76%)
CMYKcmyk(56.2%, 63.9%, 0%, 23.9%)
CIE-LABlab(38.21, 40.51, -63.04)
CIE-LCHlch(38.21, 74.93, 302.73°)
OKLaboklab(48.44% 0.04 -0.1812)
OKLCHoklch(48.44% 0.186 282.5)
XYZxyz(15.6711, 10.2057, 52.1726)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5546C2 #B3C246
analogous
#4675C2 #5546C2 #9346C2
triadic
#5546C2 #C25546 #46C255
tetradic
#5546C2 #C24675 #B3C246 #46C293
square
#5546C2 #C24675 #B3C246 #46C293
split-complementary
#5546C2 #C29346 #75C246
monochromatic
#2C236A #3F3299 #5546C2 #7F74D1 #AAA2E0

Accessibility & contrast

On white

6.90
#5546C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5546C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5546C2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5546C2#FFFFFF#000000##FFFFFF
##5546C21.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5546c2;
/* rgb */ color: rgb(85, 70, 194);
/* oklch */ color: oklch(48.4% 0.186 282.5);
Tailwind
colors: {
  custom: {
    50: '#8f7ad5',
    500: '#5546c2',
    950: '#000000',
  },
}
SCSS
$custom: #5546c2;
$custom-light: #8f7ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#5546c2",
  "rgb": {
    "r": 85,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 247.258,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48436,
    "c": 0.18553,
    "h": 282.5
  },
  "luminance": 0.10207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5546C2

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

Preview Lab → · Contrast checker → · Palette generator →

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