#504BDE#504BDE

#504BDE is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.2% C 0.216 H 277.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#504BDE
RGBrgb(80, 75, 222)
HSLhsl(242, 69%, 58%)
HSVhsv(242, 66%, 87%)
CMYKcmyk(64%, 66.2%, 0%, 12.9%)
CIE-LABlab(41.23, 45.69, -74.27)
CIE-LCHlch(41.23, 87.20, 301.60°)
OKLaboklab(51.25% 0.0266 -0.2143)
OKLCHoklch(51.25% 0.216 277.1)
XYZxyz(19.0049, 12.0100, 70.4097)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504BDE #D9DE4B
analogous
#4B8FDE #504BDE #994BDE
triadic
#504BDE #DE504B #4BDE50
tetradic
#504BDE #DE4B8F #D9DE4B #4BDE99
square
#504BDE #DE4B8F #D9DE4B #4BDE99
split-complementary
#504BDE #DE994B #8FDE4B
monochromatic
#1F1B94 #2A25C7 #504BDE #827FE7 #B5B2F1

Accessibility & contrast

On white

6.17
#504BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#504BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504BDE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504BDE#FFFFFF#000000##FFFFFF
##504BDE1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E3
Deuteranopia (green-blind)
#005BDB
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #504bde;
/* rgb */ color: rgb(80, 75, 222);
/* oklch */ color: oklch(51.2% 0.216 277.1);
Tailwind
colors: {
  custom: {
    50: '#917ee9',
    500: '#504bde',
    950: '#000000',
  },
}
SCSS
$custom: #504bde;
$custom-light: #917ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#504bde",
  "rgb": {
    "r": 80,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 242.041,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51248,
    "c": 0.21591,
    "h": 277.1
  },
  "luminance": 0.12012
}

Semantic roles & 50–950 ramp

primary
#504BDE
secondary
#DEE0A5
accent
#EC3CE6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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