#5B45DA#5B45DA

#5B45DA is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.8% C 0.216 H 282.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5B45DA
RGBrgb(91, 69, 218)
HSLhsl(249, 67%, 56%)
HSVhsv(249, 68%, 85%)
CMYKcmyk(58.3%, 68.3%, 0%, 14.5%)
CIE-LABlab(40.48, 49.40, -73.19)
CIE-LCHlch(40.48, 88.30, 304.01°)
OKLaboklab(50.81% 0.0458 -0.2108)
OKLCHoklch(50.81% 0.216 282.2)
XYZxyz(19.0935, 11.5411, 67.5376)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B45DA #C4DA45
analogous
#457ADA #5B45DA #A645DA
triadic
#5B45DA #DA5B45 #45DA5B
tetradic
#5B45DA #DA457A #C4DA45 #45DAA6
square
#5B45DA #DA457A #C4DA45 #45DAA6
split-complementary
#5B45DA #DAA645 #7ADA45
monochromatic
#2C1B89 #3C25BC #5B45DA #8878E4 #B5ABEE

Accessibility & contrast

On white

6.35
#5B45DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5B45DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B45DA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B45DA#FFFFFF#000000##FFFFFF
##5B45DA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DF
Deuteranopia (green-blind)
#005AD7
Tritanopia (blue-blind)
#056C8A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b45da;
/* rgb */ color: rgb(91, 69, 218);
/* oklch */ color: oklch(50.8% 0.216 282.2);
Tailwind
colors: {
  custom: {
    50: '#967be7',
    500: '#5b45da',
    950: '#000000',
  },
}
SCSS
$custom: #5b45da;
$custom-light: #967be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b45da",
  "rgb": {
    "r": 91,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 248.859,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.21568,
    "h": 282.2
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#5B45DA
secondary
#D3DC9F
accent
#EA3ED0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5B45DA

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

Preview Lab → · Contrast checker → · Palette generator →

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