Recognised as Colour
#040DB4
- #040DB4
- Blue
- Dark
- Nearest: Medium blue
#040DB4 is a blue with RGB values 4, 13, 180 and HSL 237°, 96%, 36%. It is a dark colour, so white text on it reaches 12.2:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#040DB4#040DB4
HEX#040DB4
RGBrgb(4, 13, 180)
RGB (0–1)0.0157, 0.051, 0.7059
RGB percentages1.6%, 5.1%, 70.6%
HSLhsl(236.9, 95.7%, 36.1%)
HSV / HSBhsv(236.9, 97.8%, 70.6%)
CMYK97.8%, 92.8%, 0%, 29.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,652
CSS custom property--colour: #040DB4;
Brightness & contrast
Relative luminance0.03609WCAG 2.x, 0 is black and 1 is white
Perceived brightness61.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.2:1
Contrast with white12.2:1WCAG normal text: AAA
Contrast with black1.72:1WCAG normal text: Fail
Greyscale equivalent#171717
Inverted#FBF24B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.2:1WCAG large text: AAA
Contrast with black, large text1.72:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#B4AB04
Analogous#0465B4, #5304B4
Triadic#B4040D, #0DB404
Split complementary#B45304, #65B404
Tetradic#B40465, #B4AB04, #04B453
Tints, shades & saturation
Channel breakdown
R4
G13
B180
Red4 (1.6%)
Green13 (5.1%)
Blue180 (70.6%)
Hue236.93°
Saturation (HSL)95.65%
Lightness36.08%
Dominant channelBlue
Hex per channelR 04 · G 0D · B B4
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