#504CD3#504CD3

#504CD3 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.5% C 0.201 H 277.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#504CD3
RGBrgb(80, 76, 211)
HSLhsl(242, 61%, 56%)
HSVhsv(242, 64%, 83%)
CMYKcmyk(62.1%, 64%, 0%, 17.3%)
CIE-LABlab(40.53, 41.56, -69.11)
CIE-LCHlch(40.53, 80.65, 301.02°)
OKLaboklab(50.46% 0.0269 -0.1991)
OKLCHoklch(50.46% 0.201 277.7)
XYZxyz(17.6468, 11.5761, 62.9199)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#504CD3 #CFD34C
analogous
#4C8CD3 #504CD3 #944CD3
triadic
#504CD3 #D3504C #4CD350
tetradic
#504CD3 #D34C8C #CFD34C #4CD394
square
#504CD3 #D34C8C #CFD34C #4CD394
split-complementary
#504CD3 #D3944C #8CD34C
monochromatic
#232084 #312DB5 #504CD3 #807DDF #B0AEEB

Accessibility & contrast

On white

6.33
#504CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#504CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #504CD3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##504CD3#FFFFFF#000000##FFFFFF
##504CD31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #504cd3;
/* rgb */ color: rgb(80, 76, 211);
/* oklch */ color: oklch(50.5% 0.201 277.7);
Tailwind
colors: {
  custom: {
    50: '#8f7fe2',
    500: '#504cd3',
    950: '#000000',
  },
}
SCSS
$custom: #504cd3;
$custom-light: #8f7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#504cd3",
  "rgb": {
    "r": 80,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 241.778,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.20093,
    "h": 277.7
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#504CD3
secondary
#D8D9A2
accent
#E444DF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #504CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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