Recognised as Colour
#040774
- #040774
- Blue
- Dark
- Nearest: Navy
#040774 is a blue with RGB values 4, 7, 116 and HSL 238°, 93%, 24%. It is a dark colour, so white text on it reaches 16.3:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#040774#040774
HEX#040774
RGBrgb(4, 7, 116)
RGB (0–1)0.0157, 0.0275, 0.4549
RGB percentages1.6%, 2.7%, 45.5%
HSLhsl(238.4, 93.3%, 23.5%)
HSV / HSBhsv(238.4, 96.6%, 45.5%)
CMYK96.6%, 94%, 0%, 54.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer264,052
CSS custom property--colour: #040774;
Brightness & contrast
Relative luminance0.01439WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.31:1
Contrast with white16.31:1WCAG normal text: AAA
Contrast with black1.29:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#FBF88B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.31:1WCAG large text: AAA
Contrast with black, large text1.29:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#747104
Analogous#043F74, #390474
Triadic#740407, #077404
Split complementary#743904, #3F7404
Tetradic#74043F, #747104, #047439
Tints, shades & saturation
Channel breakdown
R4
G7
B116
Red4 (1.6%)
Green7 (2.7%)
Blue116 (45.5%)
Hue238.39°
Saturation (HSL)93.33%
Lightness23.53%
Dominant channelBlue
Hex per channelR 04 · G 07 · B 74
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page