Recognised as Colour
#5D40CC
- #5D40CC
- Blue
- Dark
- Nearest: Medium slateblue
#5D40CC is a blue with RGB values 93, 64, 204 and HSL 252°, 58%, 53%. It is a dark colour, so white text on it reaches 6.8:1 contrast (AA for normal text). The nearest named colour is Medium slateblue.
Colour values
#5D40CC#5D40CC
HEX#5D40CC
RGBrgb(93, 64, 204)
RGB (0–1)0.3647, 0.251, 0.8
RGB percentages36.5%, 25.1%, 80%
HSLhsl(252.4, 57.9%, 52.5%)
HSV / HSBhsv(252.4, 68.6%, 80%)
CMYK54.4%, 68.6%, 0%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer6,111,436
CSS custom property--colour: #5D40CC;
Brightness & contrast
Relative luminance0.10354WCAG 2.x, 0 is black and 1 is white
Perceived brightness98.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.84:1
Contrast with white6.84:1WCAG normal text: AA
Contrast with black3.07:1WCAG normal text: Fail
Greyscale equivalent#505050
Inverted#A2BF33
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.84:1WCAG large text: AAA
Contrast with black, large text3.07:1WCAG large text: AA
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#AFCC40
Analogous#4069CC, #A340CC
Triadic#CC5D40, #40CC5D
Split complementary#CCA340, #69CC40
Tetradic#CC4069, #AFCC40, #40CCA3
Tints, shades & saturation
Channel breakdown
R93
G64
B204
Red93 (36.5%)
Green64 (25.1%)
Blue204 (80%)
Hue252.43°
Saturation (HSL)57.85%
Lightness52.55%
Dominant channelBlue
Hex per channelR 5D · G 40 · B CC
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