#504FDA#504FDA

#504FDA is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.5% C 0.206 H 276.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#504FDA
RGBrgb(80, 79, 218)
HSLhsl(240, 65%, 58%)
HSVhsv(240, 64%, 85%)
CMYKcmyk(63.3%, 63.8%, 0%, 14.5%)
CIE-LABlab(41.78, 42.04, -71.09)
CIE-LCHlch(41.78, 82.59, 300.60°)
OKLaboklab(51.54% 0.0239 -0.2049)
OKLCHoklch(51.54% 0.206 276.7)
XYZxyz(18.7550, 12.3579, 67.7130)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FDA #D9DA4F
analogous
#4F93DA #504FDA #964FDA
triadic
#504FDA #DA504F #4FDA50
tetradic
#504FDA #DA4F93 #D9DA4F #4FDA96
square
#504FDA #DA4F93 #D9DA4F #4FDA96
split-complementary
#504FDA #DA964F #93DA4F
monochromatic
#1F1E90 #2A29C3 #504FDA #8282E5 #B5B4EF

Accessibility & contrast

On white

6.05
#504FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#504FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FDA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FDA#FFFFFF#000000##FFFFFF
##504FDA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #504fda;
/* rgb */ color: rgb(80, 79, 218);
/* oklch */ color: oklch(51.5% 0.206 276.7);
Tailwind
colors: {
  custom: {
    50: '#9081e7',
    500: '#504fda',
    950: '#000000',
  },
}
SCSS
$custom: #504fda;
$custom-light: #9081e7;
$custom-dark: #000000;
JSON
{
  "hex": "#504fda",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 240.432,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.20631,
    "h": 276.7
  },
  "luminance": 0.12359
}

Semantic roles & 50–950 ramp

primary
#504FDA
secondary
#DEDEA7
accent
#E840E7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #504FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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