#5548D5#5548D5

#5548D5 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.4% C 0.207 H 280.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5548D5
RGBrgb(85, 72, 213)
HSLhsl(246, 63%, 56%)
HSVhsv(246, 66%, 84%)
CMYKcmyk(60.1%, 66.2%, 0%, 16.5%)
CIE-LABlab(40.19, 45.29, -70.80)
CIE-LCHlch(40.19, 84.05, 302.60°)
OKLaboklab(50.36% 0.0362 -0.2039)
OKLCHoklch(50.36% 0.207 280.1)
XYZxyz(18.0701, 11.3688, 64.1801)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5548D5 #C8D548
analogous
#4881D5 #5548D5 #9B48D5
triadic
#5548D5 #D55548 #48D555
tetradic
#5548D5 #D54881 #C8D548 #48D59B
square
#5548D5 #D54881 #C8D548 #48D59B
split-complementary
#5548D5 #D59B48 #81D548
monochromatic
#281E84 #372AB6 #5548D5 #837AE0 #B1ACEC

Accessibility & contrast

On white

6.41
#5548D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5548D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5548D5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5548D5#FFFFFF#000000##FFFFFF
##5548D51.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5548d5;
/* rgb */ color: rgb(85, 72, 213);
/* oklch */ color: oklch(50.4% 0.207 280.1);
Tailwind
colors: {
  custom: {
    50: '#927ce3',
    500: '#5548d5',
    950: '#000000',
  },
}
SCSS
$custom: #5548d5;
$custom-light: #927ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#5548d5",
  "rgb": {
    "r": 85,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 245.532,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50357,
    "c": 0.20714,
    "h": 280.1
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#5548D5
secondary
#D4DA9F
accent
#E642D7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5548D5

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

Preview Lab → · Contrast checker → · Palette generator →

#5548D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva