Recognised as Colour
#040CB9
- #040CB9
- Blue
- Dark
- Nearest: Medium blue
#040CB9 is a blue with RGB values 4, 12, 185 and HSL 237°, 96%, 37%. It is a dark colour, so white text on it reaches 11.9:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#040CB9#040CB9
HEX#040CB9
RGBrgb(4, 12, 185)
RGB (0–1)0.0157, 0.0471, 0.7255
RGB percentages1.6%, 4.7%, 72.5%
HSLhsl(237.3, 95.8%, 37.1%)
HSV / HSBhsv(237.3, 97.8%, 72.5%)
CMYK97.8%, 93.5%, 0%, 27.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,401
CSS custom property--colour: #040CB9;
Brightness & contrast
Relative luminance0.03792WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.94:1
Contrast with white11.94:1WCAG normal text: AAA
Contrast with black1.76:1WCAG normal text: Fail
Greyscale equivalent#171717
Inverted#FBF346
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.94:1WCAG large text: AAA
Contrast with black, large text1.76:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#B9B104
Analogous#0466B9, #5704B9
Triadic#B9040C, #0CB904
Split complementary#B95704, #66B904
Tetradic#B90466, #B9B104, #04B957
Tints, shades & saturation
Channel breakdown
R4
G12
B185
Red4 (1.6%)
Green12 (4.7%)
Blue185 (72.5%)
Hue237.35°
Saturation (HSL)95.77%
Lightness37.06%
Dominant channelBlue
Hex per channelR 04 · G 0C · B B9
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