#5A48D8#5A48D8

#5A48D8 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.0% C 0.210 H 281.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5A48D8
RGBrgb(90, 72, 216)
HSLhsl(248, 65%, 56%)
HSVhsv(248, 67%, 85%)
CMYKcmyk(58.3%, 66.7%, 0%, 15.3%)
CIE-LABlab(40.84, 46.97, -71.45)
CIE-LCHlch(40.84, 85.51, 303.32°)
OKLaboklab(51% 0.0423 -0.2057)
OKLCHoklch(51% 0.21 281.6)
XYZxyz(18.9246, 11.7650, 66.2261)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48D8 #C6D848
analogous
#487ED8 #5A48D8 #A248D8
triadic
#5A48D8 #D85A48 #48D85A
tetradic
#5A48D8 #D8487E #C6D848 #48D8A2
square
#5A48D8 #D8487E #C6D848 #48D8A2
split-complementary
#5A48D8 #D8A248 #7ED848
monochromatic
#2B1D89 #3A28BB #5A48D8 #877AE3 #B5ADEE

Accessibility & contrast

On white

6.26
#5A48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5A48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A48D8
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A48D8#FFFFFF#000000##FFFFFF
##5A48D81.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#026D8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a48d8;
/* rgb */ color: rgb(90, 72, 216);
/* oklch */ color: oklch(51.0% 0.210 281.6);
Tailwind
colors: {
  custom: {
    50: '#957ce5',
    500: '#5a48d8',
    950: '#000000',
  },
}
SCSS
$custom: #5a48d8;
$custom-light: #957ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48d8",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 247.5,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50999,
    "c": 0.21001,
    "h": 281.6
  },
  "luminance": 0.11766
}

Semantic roles & 50–950 ramp

primary
#5A48D8
secondary
#D4DBA0
accent
#E840D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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