Recognised as Colour
#040DB2
- #040DB2
- Blue
- Dark
- Nearest: Medium blue
#040DB2 is a blue with RGB values 4, 13, 178 and HSL 237°, 96%, 36%. It is a dark colour, so white text on it reaches 12.3:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#040DB2#040DB2
HEX#040DB2
RGBrgb(4, 13, 178)
RGB (0–1)0.0157, 0.051, 0.698
RGB percentages1.6%, 5.1%, 69.8%
HSLhsl(236.9, 95.6%, 35.7%)
HSV / HSBhsv(236.9, 97.8%, 69.8%)
CMYK97.8%, 92.7%, 0%, 30.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,650
CSS custom property--colour: #040DB2;
Brightness & contrast
Relative luminance0.03528WCAG 2.x, 0 is black and 1 is white
Perceived brightness61 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.31:1
Contrast with white12.31:1WCAG normal text: AAA
Contrast with black1.71:1WCAG normal text: Fail
Greyscale equivalent#171717
Inverted#FBF24D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.31:1WCAG large text: AAA
Contrast with black, large text1.71:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#B2A904
Analogous#0464B2, #5204B2
Triadic#B2040D, #0DB204
Split complementary#B25204, #64B204
Tetradic#B20464, #B2A904, #04B252
Tints, shades & saturation
Channel breakdown
R4
G13
B178
Red4 (1.6%)
Green13 (5.1%)
Blue178 (69.8%)
Hue236.9°
Saturation (HSL)95.6%
Lightness35.69%
Dominant channelBlue
Hex per channelR 04 · G 0D · B B2
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