#5A48DD#5A48DD

#5A48DD is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.216 H 281.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5A48DD
RGBrgb(90, 72, 221)
HSLhsl(247, 69%, 57%)
HSVhsv(247, 67%, 87%)
CMYKcmyk(59.3%, 67.4%, 0%, 13.3%)
CIE-LABlab(41.26, 48.49, -73.63)
CIE-LCHlch(41.26, 88.16, 303.37°)
OKLaboklab(51.43% 0.0416 -0.2121)
OKLCHoklch(51.43% 0.216 281.1)
XYZxyz(19.5809, 12.0275, 69.6823)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48DD #CBDD48
analogous
#4881DD #5A48DD #A448DD
triadic
#5A48DD #DD5A48 #48DD5A
tetradic
#5A48DD #DD4881 #CBDD48 #48DDA4
square
#5A48DD #DD4881 #CBDD48 #48DDA4
split-complementary
#5A48DD #DDA448 #81DD48
monochromatic
#291B90 #3824C3 #5A48DD #897CE7 #B7AFF0

Accessibility & contrast

On white

6.17
#5A48DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5A48DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A48DD
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A48DD#FFFFFF#000000##FFFFFF
##5A48DD1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E2
Deuteranopia (green-blind)
#005CDA
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a48dd;
/* rgb */ color: rgb(90, 72, 221);
/* oklch */ color: oklch(51.4% 0.216 281.1);
Tailwind
colors: {
  custom: {
    50: '#967de9',
    500: '#5a48dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a48dd;
$custom-light: #967de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48dd",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 247.248,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51431,
    "c": 0.21613,
    "h": 281.1
  },
  "luminance": 0.12029
}

Semantic roles & 50–950 ramp

primary
#5A48DD
secondary
#D7DEA2
accent
#EC3CD6
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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