Recognised as Colour
#040A7F
- #040A7F
- Blue
- Dark
- Nearest: Navy
#040A7F is a blue with RGB values 4, 10, 127 and HSL 237°, 94%, 26%. It is a dark colour, so white text on it reaches 15.5:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#040A7F#040A7F
HEX#040A7F
RGBrgb(4, 10, 127)
RGB (0–1)0.0157, 0.0392, 0.498
RGB percentages1.6%, 3.9%, 49.8%
HSLhsl(237.1, 93.9%, 25.7%)
HSV / HSBhsv(237.1, 96.9%, 49.8%)
CMYK96.9%, 92.1%, 0%, 50.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer264,831
CSS custom property--colour: #040A7F;
Brightness & contrast
Relative luminance0.01775WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.5:1
Contrast with white15.5:1WCAG normal text: AAA
Contrast with black1.36:1WCAG normal text: Fail
Greyscale equivalent#111111
Inverted#FBF580
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.5:1WCAG large text: AAA
Contrast with black, large text1.36:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7F7904
Analogous#04487F, #3B047F
Triadic#7F040A, #0A7F04
Split complementary#7F3B04, #487F04
Tetradic#7F0448, #7F7904, #047F3B
Tints, shades & saturation
Channel breakdown
R4
G10
B127
Red4 (1.6%)
Green10 (3.9%)
Blue127 (49.8%)
Hue237.07°
Saturation (HSL)93.89%
Lightness25.69%
Dominant channelBlue
Hex per channelR 04 · G 0A · B 7F
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page