#5548D8#5548D8

#5548D8 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.6% C 0.211 H 279.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5548D8
RGBrgb(85, 72, 216)
HSLhsl(245, 65%, 56%)
HSVhsv(245, 67%, 85%)
CMYKcmyk(60.6%, 66.7%, 0%, 15.3%)
CIE-LABlab(40.45, 46.22, -72.11)
CIE-LCHlch(40.45, 85.66, 302.66°)
OKLaboklab(50.62% 0.0358 -0.2078)
OKLCHoklch(50.62% 0.211 279.8)
XYZxyz(18.4544, 11.5225, 66.2040)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5548D8 #CBD848
analogous
#4883D8 #5548D8 #9D48D8
triadic
#5548D8 #D85548 #48D855
tetradic
#5548D8 #D84883 #CBD848 #48D89D
square
#5548D8 #D84883 #CBD848 #48D89D
split-complementary
#5548D8 #D89D48 #83D848
monochromatic
#271D89 #3528BB #5548D8 #847AE3 #B3ADEE

Accessibility & contrast

On white

6.35
#5548D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5548D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5548D8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5548D8#FFFFFF#000000##FFFFFF
##5548D81.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5548d8;
/* rgb */ color: rgb(85, 72, 216);
/* oklch */ color: oklch(50.6% 0.211 279.8);
Tailwind
colors: {
  custom: {
    50: '#937ce5',
    500: '#5548d8',
    950: '#000000',
  },
}
SCSS
$custom: #5548d8;
$custom-light: #937ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#5548d8",
  "rgb": {
    "r": 85,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 245.417,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.21086,
    "h": 279.8
  },
  "luminance": 0.11524
}

Semantic roles & 50–950 ramp

primary
#5548D8
secondary
#D6DBA0
accent
#E840D9
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5548D8

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

Preview Lab → · Contrast checker → · Palette generator →

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