#5A48D6#5A48D6

#5A48D6 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.8% C 0.208 H 281.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5A48D6
RGBrgb(90, 72, 214)
HSLhsl(248, 63%, 56%)
HSVhsv(248, 66%, 84%)
CMYKcmyk(57.9%, 66.4%, 0%, 16.1%)
CIE-LABlab(40.67, 46.35, -70.58)
CIE-LCHlch(40.67, 84.44, 303.30°)
OKLaboklab(50.83% 0.0426 -0.2031)
OKLCHoklch(50.83% 0.208 281.8)
XYZxyz(18.6676, 11.6622, 64.8726)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48D6 #C4D648
analogous
#487DD6 #5A48D6 #A148D6
triadic
#5A48D6 #D65A48 #48D65A
tetradic
#5A48D6 #D6487D #C4D648 #48D6A1
square
#5A48D6 #D6487D #C4D648 #48D6A1
split-complementary
#5A48D6 #D6A148 #7DD648
monochromatic
#2B1E86 #3B29B8 #5A48D6 #877AE1 #B4ACEC

Accessibility & contrast

On white

6.30
#5A48D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5A48D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A48D6
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A48D6#FFFFFF#000000##FFFFFF
##5A48D61.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a48d6;
/* rgb */ color: rgb(90, 72, 214);
/* oklch */ color: oklch(50.8% 0.208 281.8);
Tailwind
colors: {
  custom: {
    50: '#957ce4',
    500: '#5a48d6',
    950: '#000000',
  },
}
SCSS
$custom: #5a48d6;
$custom-light: #957ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48d6",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 247.606,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50828,
    "c": 0.20755,
    "h": 281.8
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#5A48D6
secondary
#D3DAA0
accent
#E641D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5A48D6

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

Preview Lab → · Contrast checker → · Palette generator →

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