#5A48EA#5A48EA

#5A48EA is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.6% C 0.232 H 279.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5A48EA
RGBrgb(90, 72, 234)
HSLhsl(247, 79%, 60%)
HSVhsv(247, 69%, 92%)
CMYKcmyk(61.5%, 69.2%, 0%, 8.2%)
CIE-LABlab(42.38, 52.45, -79.18)
CIE-LCHlch(42.38, 94.98, 303.52°)
OKLaboklab(52.58% 0.0396 -0.2283)
OKLCHoklch(52.58% 0.232 279.8)
XYZxyz(21.3804, 12.7473, 79.1597)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48EA #D8EA48
analogous
#4887EA #5A48EA #AB48EA
triadic
#5A48EA #EA5A48 #48EA5A
tetradic
#5A48EA #EA4887 #D8EA48 #48EAAB
square
#5A48EA #EA4887 #D8EA48 #48EAAB
split-complementary
#5A48EA #EAAB48 #87EA48
monochromatic
#2313A5 #2F19DC #5A48EA #8C7FF0 #BDB6F7

Accessibility & contrast

On white

5.92
#5A48EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5A48EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A48EA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A48EA#FFFFFF#000000##FFFFFF
##5A48EA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEF
Deuteranopia (green-blind)
#005EE7
Tritanopia (blue-blind)
#007494
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a48ea;
/* rgb */ color: rgb(90, 72, 234);
/* oklch */ color: oklch(52.6% 0.232 279.8);
Tailwind
colors: {
  custom: {
    50: '#987df2',
    500: '#5a48ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a48ea;
$custom-light: #987df2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48ea",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 234
  },
  "hsl": {
    "h": 246.667,
    "s": 79.412,
    "l": 60
  },
  "oklch": {
    "l": 0.52577,
    "c": 0.23176,
    "h": 279.8
  },
  "luminance": 0.12749
}

Semantic roles & 50–950 ramp

primary
#5A48EA
secondary
#DFE6A8
accent
#F632E0
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A48EA

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

Preview Lab → · Contrast checker → · Palette generator →

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