#5C48DC#5C48DC

#5C48DC is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.215 H 281.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5C48DC
RGBrgb(92, 72, 220)
HSLhsl(248, 68%, 57%)
HSVhsv(248, 67%, 86%)
CMYKcmyk(58.2%, 67.3%, 0%, 13.7%)
CIE-LABlab(41.34, 48.49, -72.93)
CIE-LCHlch(41.34, 87.57, 303.62°)
OKLaboklab(51.5% 0.0444 -0.21)
OKLCHoklch(51.5% 0.215 281.9)
XYZxyz(19.6452, 12.0760, 68.9920)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48DC #C8DC48
analogous
#487EDC #5C48DC #A648DC
triadic
#5C48DC #DC5C48 #48DC5C
tetradic
#5C48DC #DC487E #C8DC48 #48DCA6
square
#5C48DC #DC487E #C8DC48 #48DCA6
split-complementary
#5C48DC #DCA648 #7EDC48
monochromatic
#2B1B8E #3A25C2 #5C48DC #8A7BE6 #B8AFF0

Accessibility & contrast

On white

6.15
#5C48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5C48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48DC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48DC#FFFFFF#000000##FFFFFF
##5C48DC1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#056F8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c48dc;
/* rgb */ color: rgb(92, 72, 220);
/* oklch */ color: oklch(51.5% 0.215 281.9);
Tailwind
colors: {
  custom: {
    50: '#977de8',
    500: '#5c48dc',
    950: '#000000',
  },
}
SCSS
$custom: #5c48dc;
$custom-light: #977de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48dc",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 248.108,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.515,
    "c": 0.21459,
    "h": 281.9
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#5C48DC
secondary
#D6DEA2
accent
#EB3DD3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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