#5C48D6#5C48D6

#5C48D6 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.0% C 0.207 H 282.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5C48D6
RGBrgb(92, 72, 214)
HSLhsl(248, 63%, 56%)
HSVhsv(248, 66%, 84%)
CMYKcmyk(57%, 66.4%, 0%, 16.1%)
CIE-LABlab(40.84, 46.67, -70.30)
CIE-LCHlch(40.84, 84.38, 303.58°)
OKLaboklab(50.99% 0.0452 -0.2023)
OKLCHoklch(50.99% 0.207 282.6)
XYZxyz(18.8648, 11.7639, 64.8819)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48D6 #C2D648
analogous
#487BD6 #5C48D6 #A348D6
triadic
#5C48D6 #D65C48 #48D65C
tetradic
#5C48D6 #D6487B #C2D648 #48D6A3
square
#5C48D6 #D6487B #C2D648 #48D6A3
split-complementary
#5C48D6 #D6A348 #7BD648
monochromatic
#2D1E86 #3D29B8 #5C48D6 #897AE1 #B5ACEC

Accessibility & contrast

On white

6.26
#5C48D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5C48D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48D6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48D6#FFFFFF#000000##FFFFFF
##5C48D61.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DA
Deuteranopia (green-blind)
#005BD3
Tritanopia (blue-blind)
#186C89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c48d6;
/* rgb */ color: rgb(92, 72, 214);
/* oklch */ color: oklch(51.0% 0.207 282.6);
Tailwind
colors: {
  custom: {
    50: '#967ce4',
    500: '#5c48d6',
    950: '#000000',
  },
}
SCSS
$custom: #5c48d6;
$custom-light: #967ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48d6",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 248.451,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50987,
    "c": 0.20725,
    "h": 282.6
  },
  "luminance": 0.11765
}

Semantic roles & 50–950 ramp

primary
#5C48D6
secondary
#D2DAA0
accent
#E641CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C48D6

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

Preview Lab → · Contrast checker → · Palette generator →

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