#5A48DA#5A48DA

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

Color values

HEX#5A48DA
RGBrgb(90, 72, 218)
HSLhsl(247, 66%, 57%)
HSVhsv(247, 67%, 85%)
CMYKcmyk(58.7%, 67%, 0%, 14.5%)
CIE-LABlab(41.01, 47.58, -72.33)
CIE-LCHlch(41.01, 86.57, 303.34°)
OKLaboklab(51.17% 0.042 -0.2083)
OKLCHoklch(51.17% 0.212 281.4)
XYZxyz(19.1847, 11.8690, 67.5961)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48DA #C8DA48
analogous
#487FDA #5A48DA #A348DA
triadic
#5A48DA #DA5A48 #48DA5A
tetradic
#5A48DA #DA487F #C8DA48 #48DAA3
square
#5A48DA #DA487F #C8DA48 #48DAA3
split-complementary
#5A48DA #DAA348 #7FDA48
monochromatic
#2A1C8B #3926BE #5A48DA #887BE4 #B6AEEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A48DA#FFFFFF#000000##FFFFFF
##5A48DA1.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)
#0066DE
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a48da;
/* rgb */ color: rgb(90, 72, 218);
/* oklch */ color: oklch(51.2% 0.212 281.4);
Tailwind
colors: {
  custom: {
    50: '#957ce7',
    500: '#5a48da',
    950: '#000000',
  },
}
SCSS
$custom: #5a48da;
$custom-light: #957ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48da",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 247.397,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51171,
    "c": 0.21247,
    "h": 281.4
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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