#5041EA#5041EA

#5041EA is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.9% C 0.241 H 277.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5041EA
RGBrgb(80, 65, 234)
HSLhsl(245, 80%, 59%)
HSVhsv(245, 72%, 92%)
CMYKcmyk(65.8%, 72.2%, 0%, 8.2%)
CIE-LABlab(40.29, 55.00, -82.65)
CIE-LCHlch(40.29, 99.28, 303.64°)
OKLaboklab(50.9% 0.0314 -0.2387)
OKLCHoklch(50.9% 0.241 277.5)
XYZxyz(20.0450, 11.4249, 78.9748)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5041EA #DBEA41
analogous
#4186EA #5041EA #A441EA
triadic
#5041EA #EA5041 #41EA50
tetradic
#5041EA #EA4186 #DBEA41 #41EAA4
square
#5041EA #EA4186 #DBEA41 #41EAA4
split-complementary
#5041EA #EAA441 #86EA41
monochromatic
#1E129F #2918D6 #5041EA #8378F0 #B6AFF6

Accessibility & contrast

On white

6.39
#5041EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5041EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5041EA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5041EA#FFFFFF#000000##FFFFFF
##5041EA1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EF
Deuteranopia (green-blind)
#0058E7
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5041ea;
/* rgb */ color: rgb(80, 65, 234);
/* oklch */ color: oklch(50.9% 0.241 277.5);
Tailwind
colors: {
  custom: {
    50: '#9478f2',
    500: '#5041ea',
    950: '#000000',
  },
}
SCSS
$custom: #5041ea;
$custom-light: #9478f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5041ea",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 245.325,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.24078,
    "h": 277.5
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#5041EA
secondary
#DFE5A2
accent
#F731E5
background
#FAF7FF
surface
#F3EDFE
border
#CDC8D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5041EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5041EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva