#5548CB#5548CB

#5548CB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.5% C 0.195 H 281.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5548CB
RGBrgb(85, 72, 203)
HSLhsl(246, 56%, 54%)
HSVhsv(246, 65%, 80%)
CMYKcmyk(58.1%, 64.5%, 0%, 20.4%)
CIE-LABlab(39.37, 42.15, -66.38)
CIE-LCHlch(39.37, 78.63, 302.42°)
OKLaboklab(49.51% 0.0373 -0.191)
OKLCHoklch(49.51% 0.195 281.1)
XYZxyz(16.8398, 10.8767, 57.7004)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5548CB #BECB48
analogous
#487DCB #5548CB #9748CB
triadic
#5548CB #CB5548 #48CB55
tetradic
#5548CB #CB487D #BECB48 #48CB97
square
#5548CB #CB487D #BECB48 #48CB97
split-complementary
#5548CB #CB9748 #7DCB48
monochromatic
#2A2277 #3B2FA6 #5548CB #8178D9 #AEA7E6

Accessibility & contrast

On white

6.61
#5548CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5548CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5548CB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5548CB#FFFFFF#000000##FFFFFF
##5548CB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#086983
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5548cb;
/* rgb */ color: rgb(85, 72, 203);
/* oklch */ color: oklch(49.5% 0.195 281.1);
Tailwind
colors: {
  custom: {
    50: '#907cdc',
    500: '#5548cb',
    950: '#000000',
  },
}
SCSS
$custom: #5548cb;
$custom-light: #907cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5548cb",
  "rgb": {
    "r": 85,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 245.954,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49506,
    "c": 0.19457,
    "h": 281.1
  },
  "luminance": 0.10878
}

Semantic roles & 50–950 ramp

primary
#5548CB
secondary
#CED39B
accent
#DF49D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5548CB

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

Preview Lab → · Contrast checker → · Palette generator →

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