#5041DF#5041DF

#5041DF is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.9% C 0.228 H 278.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5041DF
RGBrgb(80, 65, 223)
HSLhsl(246, 71%, 56%)
HSVhsv(246, 71%, 87%)
CMYKcmyk(64.1%, 70.9%, 0%, 12.5%)
CIE-LABlab(39.26, 51.64, -78.08)
CIE-LCHlch(39.26, 93.61, 303.48°)
OKLaboklab(49.86% 0.0334 -0.2254)
OKLCHoklch(49.86% 0.228 278.4)
XYZxyz(18.5136, 10.8123, 70.9091)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5041DF #D0DF41
analogous
#4181DF #5041DF #9F41DF
triadic
#5041DF #DF5041 #41DF50
tetradic
#5041DF #DF4181 #D0DF41 #41DF9F
square
#5041DF #DF4181 #D0DF41 #41DF9F
split-complementary
#5041DF #DF9F41 #81DF41
monochromatic
#23188E #3021C2 #5041DF #8075E8 #B0AAF1

Accessibility & contrast

On white

6.64
#5041DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5041DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5041DF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5041DF#FFFFFF#000000##FFFFFF
##5041DF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E4
Deuteranopia (green-blind)
#0056DC
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5041df;
/* rgb */ color: rgb(80, 65, 223);
/* oklch */ color: oklch(49.9% 0.228 278.4);
Tailwind
colors: {
  custom: {
    50: '#9278ea',
    500: '#5041df',
    950: '#000000',
  },
}
SCSS
$custom: #5041df;
$custom-light: #9278ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5041df",
  "rgb": {
    "r": 80,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 245.696,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.4986,
    "c": 0.22784,
    "h": 278.4
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5041DF

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

Preview Lab → · Contrast checker → · Palette generator →

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