Recognised as Colour
#4D40CC
- #4D40CC
- Blue
- Dark
- Nearest: Medium slateblue
#4D40CC is a blue with RGB values 77, 64, 204 and HSL 246°, 58%, 53%. It is a dark colour, so white text on it reaches 7.2:1 contrast (AAA for normal text). The nearest named colour is Medium slateblue.
Colour values
#4D40CC#4D40CC
HEX#4D40CC
RGBrgb(77, 64, 204)
RGB (0–1)0.302, 0.251, 0.8
RGB percentages30.2%, 25.1%, 80%
HSLhsl(245.6, 57.9%, 52.5%)
HSV / HSBhsv(245.6, 68.6%, 80%)
CMYK62.3%, 68.6%, 0%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,062,860
CSS custom property--colour: #4D40CC;
Brightness & contrast
Relative luminance0.09604WCAG 2.x, 0 is black and 1 is white
Perceived brightness94.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.19:1
Contrast with white7.19:1WCAG normal text: AAA
Contrast with black2.92:1WCAG normal text: Fail
Greyscale equivalent#4D4D4D
Inverted#B2BF33
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.19:1WCAG large text: AAA
Contrast with black, large text2.92:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#BFCC40
Analogous#4079CC, #9340CC
Triadic#CC4D40, #40CC4D
Split complementary#CC9340, #79CC40
Tetradic#CC4079, #BFCC40, #40CC93
Tints, shades & saturation
Channel breakdown
R77
G64
B204
Red77 (30.2%)
Green64 (25.1%)
Blue204 (80%)
Hue245.57°
Saturation (HSL)57.85%
Lightness52.55%
Dominant channelBlue
Hex per channelR 4D · 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