#5548E7#5548E7

#5548E7 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.229 H 278.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5548E7
RGBrgb(85, 72, 231)
HSLhsl(245, 77%, 59%)
HSVhsv(245, 69%, 91%)
CMYKcmyk(63.2%, 68.8%, 0%, 9.4%)
CIE-LABlab(41.74, 50.88, -78.54)
CIE-LCHlch(41.74, 93.58, 302.94°)
OKLaboklab(51.94% 0.0337 -0.2266)
OKLCHoklch(51.94% 0.229 278.5)
XYZxyz(20.4828, 12.3339, 76.8871)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5548E7 #DAE748
analogous
#488AE7 #5548E7 #A548E7
triadic
#5548E7 #E75548 #48E755
tetradic
#5548E7 #E7488A #DAE748 #48E7A5
square
#5548E7 #E7488A #DAE748 #48E7A5
split-complementary
#5548E7 #E7A548 #8AE748
monochromatic
#2015A0 #2B1CD6 #5548E7 #877EEE #BAB4F5

Accessibility & contrast

On white

6.06
#5548E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5548E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5548E7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5548E7#FFFFFF#000000##FFFFFF
##5548E71.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EC
Deuteranopia (green-blind)
#005CE4
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5548e7;
/* rgb */ color: rgb(85, 72, 231);
/* oklch */ color: oklch(51.9% 0.229 278.5);
Tailwind
colors: {
  custom: {
    50: '#957df0',
    500: '#5548e7',
    950: '#000000',
  },
}
SCSS
$custom: #5548e7;
$custom-light: #957df0;
$custom-dark: #000000;
JSON
{
  "hex": "#5548e7",
  "rgb": {
    "r": 85,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 244.906,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.22911,
    "h": 278.5
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#5548E7
secondary
#DFE4A6
accent
#F334E4
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5548E7

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

Preview Lab → · Contrast checker → · Palette generator →

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