#5548CA#5548CA

#5548CA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.4% C 0.193 H 281.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5548CA
RGBrgb(85, 72, 202)
HSLhsl(246, 55%, 54%)
HSVhsv(246, 64%, 79%)
CMYKcmyk(57.9%, 64.4%, 0%, 20.8%)
CIE-LABlab(39.29, 41.84, -65.93)
CIE-LCHlch(39.29, 78.08, 302.40°)
OKLaboklab(49.42% 0.0374 -0.1897)
OKLCHoklch(49.42% 0.193 281.2)
XYZxyz(16.7210, 10.8292, 57.0748)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5548CA #BDCA48
analogous
#487CCA #5548CA #9648CA
triadic
#5548CA #CA5548 #48CA55
tetradic
#5548CA #CA487C #BDCA48 #48CA96
square
#5548CA #CA487C #BDCA48 #48CA96
split-complementary
#5548CA #CA9648 #7CCA48
monochromatic
#2A2276 #3C30A5 #5548CA #8177D8 #ADA7E5

Accessibility & contrast

On white

6.63
#5548CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5548CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5548CA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5548CA#FFFFFF#000000##FFFFFF
##5548CA1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#0B6982
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5548ca;
/* rgb */ color: rgb(85, 72, 202);
/* oklch */ color: oklch(49.4% 0.193 281.2);
Tailwind
colors: {
  custom: {
    50: '#907cdb',
    500: '#5548ca',
    950: '#000000',
  },
}
SCSS
$custom: #5548ca;
$custom-light: #907cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5548ca",
  "rgb": {
    "r": 85,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 246,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49422,
    "c": 0.19331,
    "h": 281.2
  },
  "luminance": 0.1083
}

Semantic roles & 50–950 ramp

primary
#5548CA
secondary
#CDD39B
accent
#DE49D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5548CA

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

Preview Lab → · Contrast checker → · Palette generator →

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