#5B48EB#5B48EB

#5B48EB is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.7% C 0.233 H 280.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5B48EB
RGBrgb(91, 72, 235)
HSLhsl(247, 80%, 60%)
HSVhsv(247, 69%, 92%)
CMYKcmyk(61.3%, 69.4%, 0%, 7.8%)
CIE-LABlab(42.54, 52.88, -79.47)
CIE-LCHlch(42.54, 95.46, 303.64°)
OKLaboklab(52.74% 0.0407 -0.2292)
OKLCHoklch(52.74% 0.233 280.1)
XYZxyz(21.6224, 12.8554, 79.9231)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B48EB #D8EB48
analogous
#4886EB #5B48EB #AD48EB
triadic
#5B48EB #EB5B48 #48EB5B
tetradic
#5B48EB #EB4886 #D8EB48 #48EBAD
square
#5B48EB #EB4886 #D8EB48 #48EBAD
split-complementary
#5B48EB #EBAD48 #86EB48
monochromatic
#2312A6 #2F18DE #5B48EB #8C7FF1 #BEB6F7

Accessibility & contrast

On white

5.88
#5B48EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5B48EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B48EB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B48EB#FFFFFF#000000##FFFFFF
##5B48EB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b48eb;
/* rgb */ color: rgb(91, 72, 235);
/* oklch */ color: oklch(52.7% 0.233 280.1);
Tailwind
colors: {
  custom: {
    50: '#997df3',
    500: '#5b48eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b48eb;
$custom-light: #997df3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b48eb",
  "rgb": {
    "r": 91,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 246.994,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.23277,
    "h": 280.1
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

primary
#5B48EB
secondary
#DFE7A8
accent
#DD09C4
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B48EB

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

Preview Lab → · Contrast checker → · Palette generator →

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