Recognised as Colour
#504AD8
- #504AD8
- Blue
- Dark
- Nearest: Medium slateblue
#504AD8 is a blue with RGB values 80, 74, 216 and HSL 243°, 65%, 57%. It is a dark colour, so white text on it reaches 6.3:1 contrast (AA for normal text). The nearest named colour is Medium slateblue.
Colour values
#504AD8#504AD8
HEX#504AD8
RGBrgb(80, 74, 216)
RGB (0–1)0.3137, 0.2902, 0.8471
RGB percentages31.4%, 29%, 84.7%
HSLhsl(242.5, 64.5%, 56.9%)
HSV / HSBhsv(242.5, 65.7%, 84.7%)
CMYK63%, 65.7%, 0%, 15.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,262,040
CSS custom property--colour: #504AD8;
Brightness & contrast
Relative luminance0.11561WCAG 2.x, 0 is black and 1 is white
Perceived brightness102.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.34:1
Contrast with white6.34:1WCAG normal text: AA
Contrast with black3.31:1WCAG normal text: Fail
Greyscale equivalent#565656
Inverted#AFB527
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.34:1WCAG large text: AAA
Contrast with black, large text3.31:1WCAG large text: AA
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#D2D84A
Analogous#4A8BD8, #974AD8
Triadic#D8504A, #4AD850
Split complementary#D8974A, #8BD84A
Tetradic#D84A8B, #D2D84A, #4AD897
Tints, shades & saturation
Channel breakdown
R80
G74
B216
Red80 (31.4%)
Green74 (29%)
Blue216 (84.7%)
Hue242.54°
Saturation (HSL)64.55%
Lightness56.86%
Dominant channelBlue
Hex per channelR 50 · G 4A · B D8
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page