#504FA9#504FA9

#504FA9 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.141 H 280.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#504FA9
RGBrgb(80, 79, 169)
HSLhsl(241, 36%, 49%)
HSVhsv(241, 53%, 66%)
CMYKcmyk(52.7%, 53.3%, 0%, 33.7%)
CIE-LABlab(38.13, 26.02, -48.45)
CIE-LCHlch(38.13, 55.00, 298.24°)
OKLaboklab(47.7% 0.0248 -0.1384)
OKLCHoklch(47.7% 0.141 280.1)
XYZxyz(13.2635, 10.1612, 38.7908)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504FA9 #A8A94F
analogous
#4F7BA9 #504FA9 #7D4FA9
triadic
#504FA9 #A9504F #4FA950
tetradic
#504FA9 #A94F7B #A8A94F #4FA97D
square
#504FA9 #A94F7B #A8A94F #4FA97D
split-complementary
#504FA9 #A97D4F #7BA94F
monochromatic
#292856 #3C3C7F #504FA9 #7776BF #A0A0D3

Accessibility & contrast

On white

6.93
#504FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#504FA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504FA9
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504FA9#FFFFFF#000000##FFFFFF
##504FA91.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5DAC
Deuteranopia (green-blind)
#1356A7
Tritanopia (blue-blind)
#2B6374
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #504fa9;
/* rgb */ color: rgb(80, 79, 169);
/* oklch */ color: oklch(47.7% 0.141 280.1);
Tailwind
colors: {
  custom: {
    50: '#8880c3',
    500: '#504fa9',
    950: '#000000',
  },
}
SCSS
$custom: #504fa9;
$custom-light: #8880c3;
$custom-dark: #000000;
JSON
{
  "hex": "#504fa9",
  "rgb": {
    "r": 80,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 240.667,
    "s": 36.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.477,
    "c": 0.14057,
    "h": 280.1
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#504FA9
secondary
#BFC094
accent
#CC5CCB
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #504FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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