#5A41DC#5A41DC

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

Color values

HEX#5A41DC
RGBrgb(90, 65, 220)
HSLhsl(250, 69%, 56%)
HSVhsv(250, 70%, 86%)
CMYKcmyk(59.1%, 70.5%, 0%, 13.7%)
CIE-LABlab(39.78, 52.02, -75.48)
CIE-LCHlch(39.78, 91.67, 304.57°)
OKLaboklab(50.35% 0.0472 -0.2175)
OKLCHoklch(50.35% 0.223 282.2)
XYZxyz(19.0210, 11.1203, 68.8404)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A41DC #C3DC41
analogous
#4175DC #5A41DC #A741DC
triadic
#5A41DC #DC5A41 #41DC5A
tetradic
#5A41DC #DC4175 #C3DC41 #41DCA7
square
#5A41DC #DC4175 #C3DC41 #41DCA7
split-complementary
#5A41DC #DCA741 #75DC41
monochromatic
#2B1989 #3C23BD #5A41DC #8775E6 #B4A8EF

Accessibility & contrast

On white

6.51
#5A41DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5A41DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A41DC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A41DC#FFFFFF#000000##FFFFFF
##5A41DC1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E1
Deuteranopia (green-blind)
#0058D9
Tritanopia (blue-blind)
#006B8A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5a41dc;
/* rgb */ color: rgb(90, 65, 220);
/* oklch */ color: oklch(50.3% 0.223 282.2);
Tailwind
colors: {
  custom: {
    50: '#9678e8',
    500: '#5a41dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a41dc;
$custom-light: #9678e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a41dc",
  "rgb": {
    "r": 90,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 249.677,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50346,
    "c": 0.22254,
    "h": 282.2
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#5A41DC
secondary
#D2DD9C
accent
#EC3CCF
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5A41DC

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

Preview Lab → · Contrast checker → · Palette generator →

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