#5A48DE#5A48DE

#5A48DE is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.217 H 281.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5A48DE
RGBrgb(90, 72, 222)
HSLhsl(247, 69%, 58%)
HSVhsv(247, 68%, 87%)
CMYKcmyk(59.5%, 67.6%, 0%, 12.9%)
CIE-LABlab(41.34, 48.80, -74.06)
CIE-LCHlch(41.34, 88.69, 303.38°)
OKLaboklab(51.52% 0.0415 -0.2133)
OKLCHoklch(51.52% 0.217 281)
XYZxyz(19.7145, 12.0809, 70.3861)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48DE #CCDE48
analogous
#4881DE #5A48DE #A548DE
triadic
#5A48DE #DE5A48 #48DE5A
tetradic
#5A48DE #DE4881 #CCDE48 #48DEA5
square
#5A48DE #DE4881 #CCDE48 #48DEA5
split-complementary
#5A48DE #DEA548 #81DE48
monochromatic
#291A91 #3724C5 #5A48DE #897CE7 #B7B0F1

Accessibility & contrast

On white

6.15
#5A48DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5A48DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A48DE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A48DE#FFFFFF#000000##FFFFFF
##5A48DE1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a48de;
/* rgb */ color: rgb(90, 72, 222);
/* oklch */ color: oklch(51.5% 0.217 281.0);
Tailwind
colors: {
  custom: {
    50: '#967de9',
    500: '#5a48de',
    950: '#000000',
  },
}
SCSS
$custom: #5a48de;
$custom-light: #967de9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48de",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 222
  },
  "hsl": {
    "h": 247.2,
    "s": 69.444,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.21734,
    "h": 281
  },
  "luminance": 0.12082
}

Semantic roles & 50–950 ramp

primary
#5A48DE
secondary
#D8DFA3
accent
#EC3CD7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A48DE

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

Preview Lab → · Contrast checker → · Palette generator →

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