#5A41DB#5A41DB

#5A41DB is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.3% C 0.221 H 282.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5A41DB
RGBrgb(90, 65, 219)
HSLhsl(250, 68%, 56%)
HSVhsv(250, 70%, 86%)
CMYKcmyk(58.9%, 70.3%, 0%, 14.1%)
CIE-LABlab(39.69, 51.72, -75.05)
CIE-LCHlch(39.69, 91.15, 304.57°)
OKLaboklab(50.26% 0.0473 -0.2162)
OKLCHoklch(50.26% 0.221 282.3)
XYZxyz(18.8890, 11.0674, 68.1450)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A41DB #C2DB41
analogous
#4175DB #5A41DB #A741DB
triadic
#5A41DB #DB5A41 #41DB5A
tetradic
#5A41DB #DB4175 #C2DB41 #41DBA7
square
#5A41DB #DB4175 #C2DB41 #41DBA7
split-complementary
#5A41DB #DBA741 #75DB41
monochromatic
#2C1A88 #3C23BB #5A41DB #8774E5 #B3A8EE

Accessibility & contrast

On white

6.53
#5A41DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5A41DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A41DB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A41DB#FFFFFF#000000##FFFFFF
##5A41DB1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E0
Deuteranopia (green-blind)
#0058D8
Tritanopia (blue-blind)
#006B8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5a41db;
/* rgb */ color: rgb(90, 65, 219);
/* oklch */ color: oklch(50.3% 0.221 282.3);
Tailwind
colors: {
  custom: {
    50: '#9678e7',
    500: '#5a41db',
    950: '#000000',
  },
}
SCSS
$custom: #5a41db;
$custom-light: #9678e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a41db",
  "rgb": {
    "r": 90,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 249.74,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50256,
    "c": 0.22136,
    "h": 282.3
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#5A41DB
secondary
#D2DC9C
accent
#EB3DCF
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5A41DB

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

Preview Lab → · Contrast checker → · Palette generator →

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