#504DEB#504DEB

#504DEB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.7% C 0.230 H 275.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#504DEB
RGBrgb(80, 77, 235)
HSLhsl(241, 80%, 61%)
HSVhsv(241, 67%, 92%)
CMYKcmyk(66%, 67.2%, 0%, 7.8%)
CIE-LABlab(42.78, 48.69, -79.12)
CIE-LCHlch(42.78, 92.90, 301.61°)
OKLaboklab(52.71% 0.0237 -0.2284)
OKLCHoklch(52.71% 0.23 275.9)
XYZxyz(20.9526, 13.0095, 79.9881)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504DEB #E8EB4D
analogous
#4D99EB #504DEB #9F4DEB
triadic
#504DEB #EB504D #4DEB50
tetradic
#504DEB #EB4D99 #E8EB4D #4DEB9F
square
#504DEB #EB4D99 #E8EB4D #4DEB9F
split-complementary
#504DEB #EB9F4D #99EB4D
monochromatic
#1613AA #1D19E1 #504DEB #8684F1 #BCBBF7

Accessibility & contrast

On white

5.83
#504DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#504DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504DEB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504DEB#FFFFFF#000000##FFFFFF
##504DEB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#005EE8
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #504deb;
/* rgb */ color: rgb(80, 77, 235);
/* oklch */ color: oklch(52.7% 0.230 275.9);
Tailwind
colors: {
  custom: {
    50: '#9380f3',
    500: '#504deb',
    950: '#000000',
  },
}
SCSS
$custom: #504deb;
$custom-light: #9380f3;
$custom-dark: #000000;
JSON
{
  "hex": "#504deb",
  "rgb": {
    "r": 80,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 241.139,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.52708,
    "c": 0.22966,
    "h": 275.9
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#504DEB
secondary
#E6E8AC
accent
#DC09D8
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #504DEB

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

Preview Lab → · Contrast checker → · Palette generator →

#504DEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva