#504BED#504BED

#504BED is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.6% C 0.234 H 276.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#504BED
RGBrgb(80, 75, 237)
HSLhsl(242, 82%, 61%)
HSVhsv(242, 68%, 93%)
CMYKcmyk(66.2%, 68.4%, 0%, 7.1%)
CIE-LABlab(42.54, 50.46, -80.65)
CIE-LCHlch(42.54, 95.13, 302.04°)
OKLaboklab(52.59% 0.0247 -0.2329)
OKLCHoklch(52.59% 0.234 276.1)
XYZxyz(21.1054, 12.8502, 81.4724)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BED #E8ED4B
analogous
#4B97ED #504BED #A14BED
triadic
#504BED #ED504B #4BED50
tetradic
#504BED #ED4B97 #E8ED4B #4BEDA1
square
#504BED #ED4B97 #E8ED4B #4BEDA1
split-complementary
#504BED #EDA14B #97ED4B
monochromatic
#1611AC #1D17E4 #504BED #8683F3 #BCBAF8

Accessibility & contrast

On white

5.88
#504BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#504BED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BED
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BED#FFFFFF#000000##FFFFFF
##504BED1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF2
Deuteranopia (green-blind)
#005DEA
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #504bed;
/* rgb */ color: rgb(80, 75, 237);
/* oklch */ color: oklch(52.6% 0.234 276.1);
Tailwind
colors: {
  custom: {
    50: '#947ff4',
    500: '#504bed',
    950: '#000000',
  },
}
SCSS
$custom: #504bed;
$custom-light: #947ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#504bed",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 237
  },
  "hsl": {
    "h": 241.852,
    "s": 81.818,
    "l": 61.176
  },
  "oklch": {
    "l": 0.52588,
    "c": 0.23422,
    "h": 276.1
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#504BED
secondary
#E6E8AB
accent
#DE07D8
background
#FAF7FF
surface
#F3EEFE
border
#CDC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #504BED

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

Preview Lab → · Contrast checker → · Palette generator →

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