#5A45DA#5A45DA

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

Color values

HEX#5A45DA
RGBrgb(90, 69, 218)
HSLhsl(248, 67%, 56%)
HSVhsv(248, 68%, 85%)
CMYKcmyk(58.7%, 68.3%, 0%, 14.5%)
CIE-LABlab(40.39, 49.25, -73.33)
CIE-LCHlch(40.39, 88.33, 303.89°)
OKLaboklab(50.73% 0.0444 -0.2112)
OKLCHoklch(50.73% 0.216 281.9)
XYZxyz(18.9955, 11.4906, 67.5330)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A45DA #C5DA45
analogous
#457BDA #5A45DA #A545DA
triadic
#5A45DA #DA5A45 #45DA5A
tetradic
#5A45DA #DA457B #C5DA45 #45DAA5
square
#5A45DA #DA457B #C5DA45 #45DAA5
split-complementary
#5A45DA #DAA545 #7BDA45
monochromatic
#2B1B89 #3B25BC #5A45DA #8778E4 #B5ABEE

Accessibility & contrast

On white

6.37
#5A45DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5A45DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A45DA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A45DA#FFFFFF#000000##FFFFFF
##5A45DA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a45da;
/* rgb */ color: rgb(90, 69, 218);
/* oklch */ color: oklch(50.7% 0.216 281.9);
Tailwind
colors: {
  custom: {
    50: '#967be7',
    500: '#5a45da',
    950: '#000000',
  },
}
SCSS
$custom: #5a45da;
$custom-light: #967be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a45da",
  "rgb": {
    "r": 90,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 248.456,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50731,
    "c": 0.21583,
    "h": 281.9
  },
  "luminance": 0.11492
}

Semantic roles & 50–950 ramp

primary
#5A45DA
secondary
#D3DC9F
accent
#EA3ED2
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5A45DA

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

Preview Lab → · Contrast checker → · Palette generator →

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