#504CDA#504CDA

#504CDA is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.1% C 0.210 H 277.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#504CDA
RGBrgb(80, 76, 218)
HSLhsl(242, 66%, 58%)
HSVhsv(242, 65%, 85%)
CMYKcmyk(63.3%, 65.1%, 0%, 14.5%)
CIE-LABlab(41.11, 43.82, -72.18)
CIE-LCHlch(41.11, 84.44, 301.26°)
OKLaboklab(51.06% 0.0263 -0.2081)
OKLCHoklch(51.06% 0.21 277.2)
XYZxyz(18.5435, 11.9348, 67.6425)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504CDA #D6DA4C
analogous
#4C8FDA #504CDA #974CDA
triadic
#504CDA #DA504C #4CDA50
tetradic
#504CDA #DA4C8F #D6DA4C #4CDA97
square
#504CDA #DA4C8F #D6DA4C #4CDA97
split-complementary
#504CDA #DA974C #8FDA4C
monochromatic
#211D8E #2C28C1 #504CDA #827FE4 #B3B1EF

Accessibility & contrast

On white

6.20
#504CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#504CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504CDA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504CDA#FFFFFF#000000##FFFFFF
##504CDA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DE
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#00718C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #504cda;
/* rgb */ color: rgb(80, 76, 218);
/* oklch */ color: oklch(51.1% 0.210 277.2);
Tailwind
colors: {
  custom: {
    50: '#907fe7',
    500: '#504cda',
    950: '#000000',
  },
}
SCSS
$custom: #504cda;
$custom-light: #907fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#504cda",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 241.69,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.20978,
    "h": 277.2
  },
  "luminance": 0.11936
}

Semantic roles & 50–950 ramp

primary
#504CDA
secondary
#DCDDA4
accent
#E93FE4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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