#5A48D2#5A48D2

#5A48D2 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.5% C 0.203 H 282.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#5A48D2
RGBrgb(90, 72, 210)
HSLhsl(248, 61%, 55%)
HSVhsv(248, 66%, 82%)
CMYKcmyk(57.1%, 65.7%, 0%, 17.6%)
CIE-LABlab(40.35, 45.13, -68.81)
CIE-LCHlch(40.35, 82.29, 303.26°)
OKLaboklab(50.49% 0.0431 -0.198)
OKLCHoklch(50.49% 0.203 282.3)
XYZxyz(18.1631, 11.4604, 62.2152)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48D2 #C0D248
analogous
#487BD2 #5A48D2 #9F48D2
triadic
#5A48D2 #D25A48 #48D25A
tetradic
#5A48D2 #D2487B #C0D248 #48D29F
square
#5A48D2 #D2487B #C0D248 #48D29F
split-complementary
#5A48D2 #D29F48 #7BD248
monochromatic
#2C2080 #3D2CB1 #5A48D2 #8679DE #B3AAEA

Accessibility & contrast

On white

6.38
#5A48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5A48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A48D2
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A48D2#FFFFFF#000000##FFFFFF
##5A48D21.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#166B87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5a48d2;
/* rgb */ color: rgb(90, 72, 210);
/* oklch */ color: oklch(50.5% 0.203 282.3);
Tailwind
colors: {
  custom: {
    50: '#947ce1',
    500: '#5a48d2',
    950: '#000000',
  },
}
SCSS
$custom: #5a48d2;
$custom-light: #947ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48d2",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 247.826,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.2026,
    "h": 282.3
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#5A48D2
secondary
#D0D89E
accent
#E444CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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