#5A41DD#5A41DD

#5A41DD is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.4% C 0.224 H 282.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5A41DD
RGBrgb(90, 65, 221)
HSLhsl(250, 70%, 56%)
HSVhsv(250, 71%, 87%)
CMYKcmyk(59.3%, 70.6%, 0%, 13.3%)
CIE-LABlab(39.87, 52.32, -75.91)
CIE-LCHlch(39.87, 92.19, 304.58°)
OKLaboklab(50.44% 0.047 -0.2187)
OKLCHoklch(50.44% 0.224 282.1)
XYZxyz(19.1538, 11.1734, 69.5400)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A41DD #C4DD41
analogous
#4176DD #5A41DD #A841DD
triadic
#5A41DD #DD5A41 #41DD5A
tetradic
#5A41DD #DD4176 #C4DD41 #41DDA8
square
#5A41DD #DD4176 #C4DD41 #41DDA8
split-complementary
#5A41DD #DDA841 #76DD41
monochromatic
#2B198B #3B22BF #5A41DD #8775E6 #B4A9F0

Accessibility & contrast

On white

6.49
#5A41DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5A41DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A41DD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A41DD#FFFFFF#000000##FFFFFF
##5A41DD1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E2
Deuteranopia (green-blind)
#0058DA
Tritanopia (blue-blind)
#006B8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a41dd;
/* rgb */ color: rgb(90, 65, 221);
/* oklch */ color: oklch(50.4% 0.224 282.1);
Tailwind
colors: {
  custom: {
    50: '#9678e9',
    500: '#5a41dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a41dd;
$custom-light: #9678e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a41dd",
  "rgb": {
    "r": 90,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 249.615,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.22372,
    "h": 282.1
  },
  "luminance": 0.11175
}

Semantic roles & 50–950 ramp

primary
#5A41DD
secondary
#D3DD9D
accent
#EC3BD0
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5A41DD

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

Preview Lab → · Contrast checker → · Palette generator →

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