Recognised as Colour
#040CF7
- #040CF7
- Blue
- Dark
- Nearest: Blue
#040CF7 is a blue with RGB values 4, 12, 247 and HSL 238°, 97%, 49%. It is a dark colour, so white text on it reaches 8.7:1 contrast (AAA for normal text). The nearest named colour is Blue.
Colour values
#040CF7#040CF7
HEX#040CF7
RGBrgb(4, 12, 247)
RGB (0–1)0.0157, 0.0471, 0.9686
RGB percentages1.6%, 4.7%, 96.9%
HSLhsl(238, 96.8%, 49.2%)
HSV / HSBhsv(238, 98.4%, 96.9%)
CMYK98.4%, 95.1%, 0%, 3.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,463
CSS custom property--colour: #040CF7;
Brightness & contrast
Relative luminance0.07004WCAG 2.x, 0 is black and 1 is white
Perceived brightness83.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 8.75:1
Contrast with white8.75:1WCAG normal text: AAA
Contrast with black2.4:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#FBF308
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text8.75:1WCAG large text: AAA
Contrast with black, large text2.4:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#F7EF04
Analogous#0485F7, #7604F7
Triadic#F7040C, #0CF704
Split complementary#F77604, #85F704
Tetradic#F70485, #F7EF04, #04F776
Tints, shades & saturation
Channel breakdown
R4
G12
B247
Red4 (1.6%)
Green12 (4.7%)
Blue247 (96.9%)
Hue238.02°
Saturation (HSL)96.81%
Lightness49.22%
Dominant channelBlue
Hex per channelR 04 · G 0C · B F7
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