Recognised as Colour
#040A7C
- #040A7C
- Blue
- Dark
- Nearest: Navy
#040A7C is a blue with RGB values 4, 10, 124 and HSL 237°, 94%, 25%. It is a dark colour, so white text on it reaches 15.7:1 contrast (AAA for normal text). The nearest named colour is Navy.
Colour values
#040A7C#040A7C
HEX#040A7C
RGBrgb(4, 10, 124)
RGB (0–1)0.0157, 0.0392, 0.4863
RGB percentages1.6%, 3.9%, 48.6%
HSLhsl(237, 93.8%, 25.1%)
HSV / HSBhsv(237, 96.8%, 48.6%)
CMYK96.8%, 91.9%, 0%, 51.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer264,828
CSS custom property--colour: #040A7C;
Brightness & contrast
Relative luminance0.01698WCAG 2.x, 0 is black and 1 is white
Perceived brightness42.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.68:1
Contrast with white15.68:1WCAG normal text: AAA
Contrast with black1.34:1WCAG normal text: Fail
Greyscale equivalent#111111
Inverted#FBF583
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.68:1WCAG large text: AAA
Contrast with black, large text1.34:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7C7604
Analogous#04467C, #3A047C
Triadic#7C040A, #0A7C04
Split complementary#7C3A04, #467C04
Tetradic#7C0446, #7C7604, #047C3A
Tints, shades & saturation
Channel breakdown
R4
G10
B124
Red4 (1.6%)
Green10 (3.9%)
Blue124 (48.6%)
Hue237°
Saturation (HSL)93.75%
Lightness25.1%
Dominant channelBlue
Hex per channelR 04 · G 0A · B 7C
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