#5548D6#5548D6

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

Color values

HEX#5548D6
RGBrgb(85, 72, 214)
HSLhsl(245, 63%, 56%)
HSVhsv(245, 66%, 84%)
CMYKcmyk(60.3%, 66.4%, 0%, 16.1%)
CIE-LABlab(40.28, 45.60, -71.24)
CIE-LCHlch(40.28, 84.58, 302.62°)
OKLaboklab(50.44% 0.0361 -0.2052)
OKLCHoklch(50.44% 0.208 280)
XYZxyz(18.1974, 11.4197, 64.8506)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5548D6 #C9D648
analogous
#4882D6 #5548D6 #9C48D6
triadic
#5548D6 #D65548 #48D655
tetradic
#5548D6 #D64882 #C9D648 #48D69C
square
#5548D6 #D64882 #C9D648 #48D69C
split-complementary
#5548D6 #D69C48 #82D648
monochromatic
#271E86 #3629B8 #5548D6 #837AE1 #B2ACEC

Accessibility & contrast

On white

6.39
#5548D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5548D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5548D6
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5548D6#FFFFFF#000000##FFFFFF
##5548D61.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#0059D3
Tritanopia (blue-blind)
#006D89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5548d6;
/* rgb */ color: rgb(85, 72, 214);
/* oklch */ color: oklch(50.4% 0.208 280.0);
Tailwind
colors: {
  custom: {
    50: '#927ce4',
    500: '#5548d6',
    950: '#000000',
  },
}
SCSS
$custom: #5548d6;
$custom-light: #927ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#5548d6",
  "rgb": {
    "r": 85,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 245.493,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.20838,
    "h": 280
  },
  "luminance": 0.11421
}

Semantic roles & 50–950 ramp

primary
#5548D6
secondary
#D5DAA0
accent
#E641D7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5548D6

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

Preview Lab → · Contrast checker → · Palette generator →

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