#5A48DF#5A48DF

#5A48DF is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.219 H 280.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5A48DF
RGBrgb(90, 72, 223)
HSLhsl(247, 70%, 58%)
HSVhsv(247, 68%, 87%)
CMYKcmyk(59.6%, 67.7%, 0%, 12.5%)
CIE-LABlab(41.43, 49.10, -74.49)
CIE-LCHlch(41.43, 89.22, 303.39°)
OKLaboklab(51.61% 0.0413 -0.2146)
OKLCHoklch(51.61% 0.219 280.9)
XYZxyz(19.8489, 12.1347, 71.0940)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48DF #CDDF48
analogous
#4882DF #5A48DF #A548DF
triadic
#5A48DF #DF5A48 #48DF5A
tetradic
#5A48DF #DF4882 #CDDF48 #48DFA5
square
#5A48DF #DF4882 #CDDF48 #48DFA5
split-complementary
#5A48DF #DFA548 #82DF48
monochromatic
#281A93 #3623C7 #5A48DF #897CE8 #B8B0F1

Accessibility & contrast

On white

6.13
#5A48DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5A48DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A48DF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A48DF#FFFFFF#000000##FFFFFF
##5A48DF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5a48df;
/* rgb */ color: rgb(90, 72, 223);
/* oklch */ color: oklch(51.6% 0.219 280.9);
Tailwind
colors: {
  custom: {
    50: '#967dea',
    500: '#5a48df',
    950: '#000000',
  },
}
SCSS
$custom: #5a48df;
$custom-light: #967dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48df",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 247.152,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51605,
    "c": 0.21856,
    "h": 280.9
  },
  "luminance": 0.12136
}

Semantic roles & 50–950 ramp

primary
#5A48DF
secondary
#D8E0A3
accent
#ED3BD8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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