#5A48CA#5A48CA

#5A48CA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.8% C 0.193 H 283.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5A48CA
RGBrgb(90, 72, 202)
HSLhsl(248, 55%, 54%)
HSVhsv(248, 64%, 79%)
CMYKcmyk(55.4%, 64.4%, 0%, 20.8%)
CIE-LABlab(39.70, 42.68, -65.24)
CIE-LCHlch(39.70, 77.96, 303.19°)
OKLaboklab(49.82% 0.0439 -0.1875)
OKLCHoklch(49.82% 0.193 283.2)
XYZxyz(17.1912, 11.0716, 57.0968)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48CA #B8CA48
analogous
#4877CA #5A48CA #9B48CA
triadic
#5A48CA #CA5A48 #48CA5A
tetradic
#5A48CA #CA4877 #B8CA48 #48CA9B
square
#5A48CA #CA4877 #B8CA48 #48CA9B
split-complementary
#5A48CA #CA9B48 #77CA48
monochromatic
#2E2276 #4030A5 #5A48CA #8577D8 #B0A7E5

Accessibility & contrast

On white

6.53
#5A48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5A48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A48CA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A48CA#FFFFFF#000000##FFFFFF
##5A48CA1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#246882
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a48ca;
/* rgb */ color: rgb(90, 72, 202);
/* oklch */ color: oklch(49.8% 0.193 283.2);
Tailwind
colors: {
  custom: {
    50: '#937cdb',
    500: '#5a48ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a48ca;
$custom-light: #937cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48ca",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 248.308,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49822,
    "c": 0.19256,
    "h": 283.2
  },
  "luminance": 0.11073
}

Semantic roles & 50–950 ramp

primary
#5A48CA
secondary
#CBD39B
accent
#DE49CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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