#5C48D8#5C48D8

#5C48D8 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.2% C 0.210 H 282.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5C48D8
RGBrgb(92, 72, 216)
HSLhsl(248, 65%, 56%)
HSVhsv(248, 67%, 85%)
CMYKcmyk(57.4%, 66.7%, 0%, 15.3%)
CIE-LABlab(41.00, 47.27, -71.18)
CIE-LCHlch(41.00, 85.45, 303.59°)
OKLaboklab(51.16% 0.0449 -0.2048)
OKLCHoklch(51.16% 0.21 282.4)
XYZxyz(19.1218, 11.8667, 66.2353)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48D8 #C4D848
analogous
#487CD8 #5C48D8 #A448D8
triadic
#5C48D8 #D85C48 #48D85C
tetradic
#5C48D8 #D8487C #C4D848 #48D8A4
square
#5C48D8 #D8487C #C4D848 #48D8A4
split-complementary
#5C48D8 #D8A448 #7CD848
monochromatic
#2C1D89 #3C28BB #5C48D8 #897AE3 #B6ADEE

Accessibility & contrast

On white

6.22
#5C48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5C48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48D8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48D8#FFFFFF#000000##FFFFFF
##5C48D81.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#136D8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c48d8;
/* rgb */ color: rgb(92, 72, 216);
/* oklch */ color: oklch(51.2% 0.210 282.4);
Tailwind
colors: {
  custom: {
    50: '#967ce5',
    500: '#5c48d8',
    950: '#000000',
  },
}
SCSS
$custom: #5c48d8;
$custom-light: #967ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48d8",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 248.333,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51157,
    "c": 0.20972,
    "h": 282.4
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#5C48D8
secondary
#D3DBA0
accent
#E840D1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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