#5B48ED#5B48ED

#5B48ED is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.9% C 0.235 H 279.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5B48ED
RGBrgb(91, 72, 237)
HSLhsl(247, 82%, 61%)
HSVhsv(247, 70%, 93%)
CMYKcmyk(61.6%, 69.6%, 0%, 7.1%)
CIE-LABlab(42.72, 53.48, -80.31)
CIE-LCHlch(42.72, 96.49, 303.66°)
OKLaboklab(52.92% 0.0404 -0.2316)
OKLCHoklch(52.92% 0.235 279.9)
XYZxyz(21.9130, 12.9716, 81.4534)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B48ED #DAED48
analogous
#4887ED #5B48ED #AD48ED
triadic
#5B48ED #ED5B48 #48ED5B
tetradic
#5B48ED #ED4887 #DAED48 #48EDAD
square
#5B48ED #ED4887 #DAED48 #48EDAD
split-complementary
#5B48ED #EDAD48 #87ED48
monochromatic
#2211AA #2E16E2 #5B48ED #8D80F2 #BFB7F8

Accessibility & contrast

On white

5.84
#5B48ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5B48ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B48ED
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B48ED#FFFFFF#000000##FFFFFF
##5B48ED1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF2
Deuteranopia (green-blind)
#005EEA
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b48ed;
/* rgb */ color: rgb(91, 72, 237);
/* oklch */ color: oklch(52.9% 0.235 279.9);
Tailwind
colors: {
  custom: {
    50: '#997df4',
    500: '#5b48ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b48ed;
$custom-light: #997df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b48ed",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 237
  },
  "hsl": {
    "h": 246.909,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52921,
    "c": 0.23513,
    "h": 279.9
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#5B48ED
secondary
#E1E8A9
accent
#DE07C6
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B48ED

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

Preview Lab → · Contrast checker → · Palette generator →

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