#5041DE#5041DE

#5041DE is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.8% C 0.227 H 278.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5041DE
RGBrgb(80, 65, 222)
HSLhsl(246, 70%, 56%)
HSVhsv(246, 71%, 87%)
CMYKcmyk(64%, 70.7%, 0%, 12.9%)
CIE-LABlab(39.17, 51.33, -77.66)
CIE-LCHlch(39.17, 93.09, 303.46°)
OKLaboklab(49.77% 0.0336 -0.2241)
OKLCHoklch(49.77% 0.227 278.5)
XYZxyz(18.3791, 10.7585, 70.2011)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5041DE #CFDE41
analogous
#4181DE #5041DE #9E41DE
triadic
#5041DE #DE5041 #41DE50
tetradic
#5041DE #DE4181 #CFDE41 #41DE9E
square
#5041DE #DE4181 #CFDE41 #41DE9E
split-complementary
#5041DE #DE9E41 #81DE41
monochromatic
#23188C #3121C0 #5041DE #8075E7 #B0A9F0

Accessibility & contrast

On white

6.66
#5041DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5041DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5041DE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5041DE#FFFFFF#000000##FFFFFF
##5041DE1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E3
Deuteranopia (green-blind)
#0056DB
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5041de;
/* rgb */ color: rgb(80, 65, 222);
/* oklch */ color: oklch(49.8% 0.227 278.5);
Tailwind
colors: {
  custom: {
    50: '#9278ea',
    500: '#5041de',
    950: '#000000',
  },
}
SCSS
$custom: #5041de;
$custom-light: #9278ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5041de",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 222
  },
  "hsl": {
    "h": 245.732,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.22665,
    "h": 278.5
  },
  "luminance": 0.1076
}

Semantic roles & 50–950 ramp

primary
#5041DE
secondary
#D8DE9D
accent
#ED3BDC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5041DE

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

Preview Lab → · Contrast checker → · Palette generator →

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