#504CA3#504CA3

#504CA3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.136 H 281.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#504CA3
RGBrgb(80, 76, 163)
HSLhsl(243, 36%, 47%)
HSVhsv(243, 53%, 64%)
CMYKcmyk(50.9%, 53.4%, 0%, 36.1%)
CIE-LABlab(36.96, 25.99, -46.75)
CIE-LCHlch(36.96, 53.49, 299.07°)
OKLaboklab(46.7% 0.0279 -0.1334)
OKLCHoklch(46.7% 0.136 281.8)
XYZxyz(12.5016, 9.5180, 35.8217)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504CA3 #9FA34C
analogous
#4C74A3 #504CA3 #7C4CA3
triadic
#504CA3 #A3504C #4CA350
tetradic
#504CA3 #A34C74 #9FA34C #4CA37C
square
#504CA3 #A34C74 #9FA34C #4CA37C
split-complementary
#504CA3 #A37C4C #74A34C
monochromatic
#272550 #3C3979 #504CA3 #7370BC #9C9AD0

Accessibility & contrast

On white

7.23
#504CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#504CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #504CA3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504CA3#FFFFFF#000000##FFFFFF
##504CA31.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5AA6
Deuteranopia (green-blind)
#1654A1
Tritanopia (blue-blind)
#305F70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #504ca3;
/* rgb */ color: rgb(80, 76, 163);
/* oklch */ color: oklch(46.7% 0.136 281.8);
Tailwind
colors: {
  custom: {
    50: '#877ebf',
    500: '#504ca3',
    950: '#000000',
  },
}
SCSS
$custom: #504ca3;
$custom-light: #877ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#504ca3",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 242.759,
    "s": 36.402,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46699,
    "c": 0.13626,
    "h": 281.8
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

primary
#504CA3
secondary
#BABC8F
accent
#CC5BC7
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #504CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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