#5A48DB#5A48DB

#5A48DB is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.3% C 0.214 H 281.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5A48DB
RGBrgb(90, 72, 219)
HSLhsl(247, 67%, 57%)
HSVhsv(247, 67%, 86%)
CMYKcmyk(58.9%, 67.1%, 0%, 14.1%)
CIE-LABlab(41.09, 47.88, -72.76)
CIE-LCHlch(41.09, 87.10, 303.35°)
OKLaboklab(51.26% 0.0419 -0.2095)
OKLCHoklch(51.26% 0.214 281.3)
XYZxyz(19.3160, 11.9215, 68.2873)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A48DB #C9DB48
analogous
#4880DB #5A48DB #A448DB
triadic
#5A48DB #DB5A48 #48DB5A
tetradic
#5A48DB #DB4880 #C9DB48 #48DBA4
square
#5A48DB #DB4880 #C9DB48 #48DBA4
split-complementary
#5A48DB #DBA448 #80DB48
monochromatic
#2A1C8D #3926C0 #5A48DB #887BE5 #B6AEEF

Accessibility & contrast

On white

6.20
#5A48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5A48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A48DB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A48DB#FFFFFF#000000##FFFFFF
##5A48DB1.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a48db;
/* rgb */ color: rgb(90, 72, 219);
/* oklch */ color: oklch(51.3% 0.214 281.3);
Tailwind
colors: {
  custom: {
    50: '#967ce7',
    500: '#5a48db',
    950: '#000000',
  },
}
SCSS
$custom: #5a48db;
$custom-light: #967ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a48db",
  "rgb": {
    "r": 90,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 247.347,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51257,
    "c": 0.21368,
    "h": 281.3
  },
  "luminance": 0.11923
}

Semantic roles & 50–950 ramp

primary
#5A48DB
secondary
#D6DDA2
accent
#EA3ED5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5A48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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