Recognised as Colour
#4020CC
- #4020CC
- Blue
- Dark
- Nearest: Medium blue
#4020CC is a blue with RGB values 64, 32, 204 and HSL 251°, 73%, 46%. It is a dark colour, so white text on it reaches 9.1:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#4020CC#4020CC
HEX#4020CC
RGBrgb(64, 32, 204)
RGB (0–1)0.251, 0.1255, 0.8
RGB percentages25.1%, 12.5%, 80%
HSLhsl(251.2, 72.9%, 46.3%)
HSV / HSBhsv(251.2, 84.3%, 80%)
CMYK68.6%, 84.3%, 0%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,700
CSS custom property--colour: #4020CC;
Brightness & contrast
Relative luminance0.06483WCAG 2.x, 0 is black and 1 is white
Perceived brightness81.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.14:1
Contrast with white9.14:1WCAG normal text: AAA
Contrast with black2.3:1WCAG normal text: Fail
Greyscale equivalent#333333
Inverted#BFDF33
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.14:1WCAG large text: AAA
Contrast with black, large text2.3:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#ACCC20
Analogous#2056CC, #9620CC
Triadic#CC4020, #20CC40
Split complementary#CC9620, #56CC20
Tetradic#CC2056, #ACCC20, #20CC96
Tints, shades & saturation
Channel breakdown
R64
G32
B204
Red64 (25.1%)
Green32 (12.5%)
Blue204 (80%)
Hue251.16°
Saturation (HSL)72.88%
Lightness46.27%
Dominant channelBlue
Hex per channelR 40 · G 20 · 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