#5548E1#5548E1

#5548E1 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.222 H 279.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5548E1
RGBrgb(85, 72, 225)
HSLhsl(245, 72%, 58%)
HSVhsv(245, 68%, 88%)
CMYKcmyk(62.2%, 68%, 0%, 11.8%)
CIE-LABlab(41.22, 49.02, -75.99)
CIE-LCHlch(41.22, 90.44, 302.83°)
OKLaboklab(51.41% 0.0346 -0.2192)
OKLCHoklch(51.41% 0.222 279)
XYZxyz(19.6499, 12.0007, 72.5004)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5548E1 #D4E148
analogous
#4887E1 #5548E1 #A148E1
triadic
#5548E1 #E15548 #48E155
tetradic
#5548E1 #E14887 #D4E148 #48E1A1
square
#5548E1 #E14887 #D4E148 #48E1A1
split-complementary
#5548E1 #E1A148 #87E148
monochromatic
#231996 #3021CB #5548E1 #867DEA #B7B1F2

Accessibility & contrast

On white

6.18
#5548E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5548E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5548E1
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5548E1#FFFFFF#000000##FFFFFF
##5548E11.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005BDE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5548e1;
/* rgb */ color: rgb(85, 72, 225);
/* oklch */ color: oklch(51.4% 0.222 279.0);
Tailwind
colors: {
  custom: {
    50: '#947cec',
    500: '#5548e1',
    950: '#000000',
  },
}
SCSS
$custom: #5548e1;
$custom-light: #947cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5548e1",
  "rgb": {
    "r": 85,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 245.098,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51408,
    "c": 0.22188,
    "h": 279
  },
  "luminance": 0.12002
}

Semantic roles & 50–950 ramp

primary
#5548E1
secondary
#DCE1A4
accent
#EF39DF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5548E1

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

Preview Lab → · Contrast checker → · Palette generator →

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