#5A41EA#5A41EA

#5A41EA is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.6% C 0.239 H 280.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5A41EA
RGBrgb(90, 65, 234)
HSLhsl(249, 80%, 59%)
HSVhsv(249, 72%, 92%)
CMYKcmyk(61.5%, 72.2%, 0%, 8.2%)
CIE-LABlab(41.05, 56.16, -81.37)
CIE-LCHlch(41.05, 98.87, 304.61°)
OKLaboklab(51.63% 0.0444 -0.2347)
OKLCHoklch(51.63% 0.239 280.7)
XYZxyz(20.9533, 11.8932, 79.0174)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A41EA #D1EA41
analogous
#417CEA #5A41EA #AE41EA
triadic
#5A41EA #EA5A41 #41EA5A
tetradic
#5A41EA #EA417C #D1EA41 #41EAAE
square
#5A41EA #EA417C #D1EA41 #41EAAE
split-complementary
#5A41EA #EAAE41 #7CEA41
monochromatic
#27129F #3418D6 #5A41EA #8A78F0 #BAAFF6

Accessibility & contrast

On white

6.21
#5A41EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5A41EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A41EA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A41EA#FFFFFF#000000##FFFFFF
##5A41EA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EF
Deuteranopia (green-blind)
#005AE7
Tritanopia (blue-blind)
#007092
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5a41ea;
/* rgb */ color: rgb(90, 65, 234);
/* oklch */ color: oklch(51.6% 0.239 280.7);
Tailwind
colors: {
  custom: {
    50: '#9979f2',
    500: '#5a41ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a41ea;
$custom-light: #9979f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a41ea",
  "rgb": {
    "r": 90,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 248.876,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.23889,
    "h": 280.7
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#5A41EA
secondary
#DBE5A2
accent
#F731D9
background
#FAF7FF
surface
#F4EDFE
border
#CEC8D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5A41EA

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

Preview Lab → · Contrast checker → · Palette generator →

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