Recognised as Colour
#040FD6
- #040FD6
- Blue
- Dark
- Nearest: Medium blue
#040FD6 is a blue with RGB values 4, 15, 214 and HSL 237°, 96%, 43%. It is a dark colour, so white text on it reaches 10.3:1 contrast (AAA for normal text). The nearest named colour is Medium blue.
Colour values
#040FD6#040FD6
HEX#040FD6
RGBrgb(4, 15, 214)
RGB (0–1)0.0157, 0.0588, 0.8392
RGB percentages1.6%, 5.9%, 83.9%
HSLhsl(236.9, 96.3%, 42.7%)
HSV / HSBhsv(236.9, 98.1%, 83.9%)
CMYK98.1%, 93%, 0%, 16.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer266,198
CSS custom property--colour: #040FD6;
Brightness & contrast
Relative luminance0.05222WCAG 2.x, 0 is black and 1 is white
Perceived brightness73.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 10.27:1
Contrast with white10.27:1WCAG normal text: AAA
Contrast with black2.04:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#FBF029
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text10.27:1WCAG large text: AAA
Contrast with black, large text2.04:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#D6CB04
Analogous#0478D6, #6204D6
Triadic#D6040F, #0FD604
Split complementary#D66204, #78D604
Tetradic#D60478, #D6CB04, #04D662
Tints, shades & saturation
Channel breakdown
R4
G15
B214
Red4 (1.6%)
Green15 (5.9%)
Blue214 (83.9%)
Hue236.86°
Saturation (HSL)96.33%
Lightness42.75%
Dominant channelBlue
Hex per channelR 04 · G 0F · B D6
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