#5A48D7#5A48D7

#5A48D7 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.209 H 281.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5A48D7
RGBrgb(90, 72, 215)
HSLhsl(248, 64%, 56%)
HSVhsv(248, 67%, 84%)
CMYKcmyk(58.1%, 66.5%, 0%, 15.7%)
CIE-LABlab(40.76, 46.66, -71.02)
CIE-LCHlch(40.76, 84.97, 303.31°)
OKLaboklab(50.91% 0.0424 -0.2044)
OKLCHoklch(50.91% 0.209 281.7)
XYZxyz(18.7957, 11.7134, 65.5473)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48D7 #C5D748
analogous
#487ED7 #5A48D7 #A248D7
triadic
#5A48D7 #D75A48 #48D75A
tetradic
#5A48D7 #D7487E #C5D748 #48D7A2
square
#5A48D7 #D7487E #C5D748 #48D7A2
split-complementary
#5A48D7 #D7A248 #7ED748
monochromatic
#2B1E87 #3B29B9 #5A48D7 #877AE2 #B5ACED

Accessibility & contrast

On white

6.28
#5A48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5A48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A48D7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A48D7#FFFFFF#000000##FFFFFF
##5A48D71.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#005BD4
Tritanopia (blue-blind)
#066D89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a48d7;
/* rgb */ color: rgb(90, 72, 215);
/* oklch */ color: oklch(50.9% 0.209 281.7);
Tailwind
colors: {
  custom: {
    50: '#957ce4',
    500: '#5a48d7',
    950: '#000000',
  },
}
SCSS
$custom: #5a48d7;
$custom-light: #957ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48d7",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 247.552,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50913,
    "c": 0.20878,
    "h": 281.7
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#5A48D7
secondary
#D3DBA0
accent
#E741D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5A48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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