#5A48CF#5A48CF

#5A48CF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.2% C 0.199 H 282.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5A48CF
RGBrgb(90, 72, 207)
HSLhsl(248, 58%, 55%)
HSVhsv(248, 65%, 81%)
CMYKcmyk(56.5%, 65.2%, 0%, 18.8%)
CIE-LABlab(40.10, 44.21, -67.48)
CIE-LCHlch(40.10, 80.67, 303.23°)
OKLaboklab(50.24% 0.0434 -0.1941)
OKLCHoklch(50.24% 0.199 282.6)
XYZxyz(17.7928, 11.3123, 60.2653)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48CF #BDCF48
analogous
#487ACF #5A48CF #9E48CF
triadic
#5A48CF #CF5A48 #48CF5A
tetradic
#5A48CF #CF487A #BDCF48 #48CF9E
square
#5A48CF #CF487A #BDCF48 #48CF9E
split-complementary
#5A48CF #CF9E48 #7ACF48
monochromatic
#2D217C #3E2DAD #5A48CF #8678DC #B1A9E8

Accessibility & contrast

On white

6.44
#5A48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5A48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A48CF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A48CF#FFFFFF#000000##FFFFFF
##5A48CF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#1C6A85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a48cf;
/* rgb */ color: rgb(90, 72, 207);
/* oklch */ color: oklch(50.2% 0.199 282.6);
Tailwind
colors: {
  custom: {
    50: '#947cdf',
    500: '#5a48cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a48cf;
$custom-light: #947cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48cf",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 248,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50237,
    "c": 0.19885,
    "h": 282.6
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#5A48CF
secondary
#CED69D
accent
#E246CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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