#5C48D5#5C48D5

#5C48D5 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.206 H 282.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5C48D5
RGBrgb(92, 72, 213)
HSLhsl(249, 63%, 56%)
HSVhsv(249, 66%, 84%)
CMYKcmyk(56.8%, 66.2%, 0%, 16.5%)
CIE-LABlab(40.76, 46.36, -69.86)
CIE-LCHlch(40.76, 83.85, 303.57°)
OKLaboklab(50.9% 0.0453 -0.201)
OKLCHoklch(50.9% 0.206 282.7)
XYZxyz(18.7375, 11.7129, 64.2113)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48D5 #C1D548
analogous
#487AD5 #5C48D5 #A348D5
triadic
#5C48D5 #D55C48 #48D55C
tetradic
#5C48D5 #D5487A #C1D548 #48D5A3
square
#5C48D5 #D5487A #C1D548 #48D5A3
split-complementary
#5C48D5 #D5A348 #7AD548
monochromatic
#2D1E84 #3E2AB6 #5C48D5 #887AE0 #B5ACEC

Accessibility & contrast

On white

6.28
#5C48D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5C48D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48D5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48D5#FFFFFF#000000##FFFFFF
##5C48D51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#1A6C88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c48d5;
/* rgb */ color: rgb(92, 72, 213);
/* oklch */ color: oklch(50.9% 0.206 282.7);
Tailwind
colors: {
  custom: {
    50: '#967ce3',
    500: '#5c48d5',
    950: '#000000',
  },
}
SCSS
$custom: #5c48d5;
$custom-light: #967ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48d5",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 248.511,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.20602,
    "h": 282.7
  },
  "luminance": 0.11714
}

Semantic roles & 50–950 ramp

primary
#5C48D5
secondary
#D1DA9F
accent
#E642CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C48D5

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

Preview Lab → · Contrast checker → · Palette generator →

#5C48D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva