#5C48DA#5C48DA

#5C48DA is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.3% C 0.212 H 282.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5C48DA
RGBrgb(92, 72, 218)
HSLhsl(248, 66%, 57%)
HSVhsv(248, 67%, 85%)
CMYKcmyk(57.8%, 67%, 0%, 14.5%)
CIE-LABlab(41.17, 47.88, -72.05)
CIE-LCHlch(41.17, 86.51, 303.60°)
OKLaboklab(51.33% 0.0446 -0.2074)
OKLCHoklch(51.33% 0.212 282.1)
XYZxyz(19.3820, 11.9707, 67.6053)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48DA #C6DA48
analogous
#487DDA #5C48DA #A548DA
triadic
#5C48DA #DA5C48 #48DA5C
tetradic
#5C48DA #DA487D #C6DA48 #48DAA5
square
#5C48DA #DA487D #C6DA48 #48DAA5
split-complementary
#5C48DA #DAA548 #7DDA48
monochromatic
#2B1C8B #3B26BE #5C48DA #897BE4 #B7AEEF

Accessibility & contrast

On white

6.19
#5C48DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5C48DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48DA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48DA#FFFFFF#000000##FFFFFF
##5C48DA1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005CD7
Tritanopia (blue-blind)
#0D6E8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c48da;
/* rgb */ color: rgb(92, 72, 218);
/* oklch */ color: oklch(51.3% 0.212 282.1);
Tailwind
colors: {
  custom: {
    50: '#977de7',
    500: '#5c48da',
    950: '#000000',
  },
}
SCSS
$custom: #5c48da;
$custom-light: #977de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48da",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 248.219,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51328,
    "c": 0.21216,
    "h": 282.1
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#5C48DA
secondary
#D5DDA1
accent
#E93FD2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5C48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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