#5548E2#5548E2

#5548E2 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.223 H 278.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5548E2
RGBrgb(85, 72, 226)
HSLhsl(245, 73%, 58%)
HSVhsv(245, 68%, 89%)
CMYKcmyk(62.4%, 68.1%, 0%, 11.4%)
CIE-LABlab(41.30, 49.33, -76.42)
CIE-LCHlch(41.30, 90.96, 302.84°)
OKLaboklab(51.5% 0.0345 -0.2204)
OKLCHoklch(51.5% 0.223 278.9)
XYZxyz(19.7867, 12.0555, 73.2210)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5548E2 #D5E248
analogous
#4888E2 #5548E2 #A248E2
triadic
#5548E2 #E25548 #48E255
tetradic
#5548E2 #E24888 #D5E248 #48E2A2
square
#5548E2 #E24888 #D5E248 #48E2A2
split-complementary
#5548E2 #E2A248 #88E248
monochromatic
#231898 #2F20CC #5548E2 #867DEA #B7B2F3

Accessibility & contrast

On white

6.16
#5548E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5548E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5548E2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5548E2#FFFFFF#000000##FFFFFF
##5548E21.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5548e2;
/* rgb */ color: rgb(85, 72, 226);
/* oklch */ color: oklch(51.5% 0.223 278.9);
Tailwind
colors: {
  custom: {
    50: '#947cec',
    500: '#5548e2',
    950: '#000000',
  },
}
SCSS
$custom: #5548e2;
$custom-light: #947cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5548e2",
  "rgb": {
    "r": 85,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 245.065,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51497,
    "c": 0.22309,
    "h": 278.9
  },
  "luminance": 0.12057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5548E2

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

Preview Lab → · Contrast checker → · Palette generator →

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