Recognised as Colour
#040FD8
- #040FD8
- Blue
- Dark
- Nearest: Medium blue
#040FD8 is a blue with RGB values 4, 15, 216 and HSL 237°, 96%, 43%. It is a dark colour, so white text on it reaches 10.2:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#040FD8#040FD8
HEX#040FD8
RGBrgb(4, 15, 216)
RGB (0–1)0.0157, 0.0588, 0.8471
RGB percentages1.6%, 5.9%, 84.7%
HSLhsl(236.9, 96.4%, 43.1%)
HSV / HSBhsv(236.9, 98.1%, 84.7%)
CMYK98.1%, 93.1%, 0%, 15.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer266,200
CSS custom property--colour: #040FD8;
Brightness & contrast
Relative luminance0.05325WCAG 2.x, 0 is black and 1 is white
Perceived brightness73.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.17:1
Contrast with white10.17:1WCAG normal text: AAA
Contrast with black2.07:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#FBF027
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.17:1WCAG large text: AAA
Contrast with black, large text2.07:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#D8CD04
Analogous#0479D8, #6304D8
Triadic#D8040F, #0FD804
Split complementary#D86304, #79D804
Tetradic#D80479, #D8CD04, #04D863
Tints, shades & saturation
Channel breakdown
R4
G15
B216
Red4 (1.6%)
Green15 (5.9%)
Blue216 (84.7%)
Hue236.89°
Saturation (HSL)96.36%
Lightness43.14%
Dominant channelBlue
Hex per channelR 04 · G 0F · B D8
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