Recognised as Colour
#040A47
- #040A47
- Blue
- Dark
- Nearest: Midnight blue
#040A47 is a blue with RGB values 4, 10, 71 and HSL 235°, 89%, 15%. It is a dark colour, so white text on it reaches 18.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#040A47#040A47
HEX#040A47
RGBrgb(4, 10, 71)
RGB (0–1)0.0157, 0.0392, 0.2784
RGB percentages1.6%, 3.9%, 27.8%
HSLhsl(234.6, 89.3%, 14.7%)
HSV / HSBhsv(234.6, 94.4%, 27.8%)
CMYK94.4%, 85.9%, 0%, 72.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer264,775
CSS custom property--colour: #040A47;
Brightness & contrast
Relative luminance0.00698WCAG 2.x, 0 is black and 1 is white
Perceived brightness25.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.43:1
Contrast with white18.43:1WCAG normal text: AAA
Contrast with black1.14:1WCAG normal text: Fail
Greyscale equivalent#0D0D0D
Inverted#FBF5B8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.43:1WCAG large text: AAA
Contrast with black, large text1.14:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#474104
Analogous#042C47, #200447
Triadic#47040A, #0A4704
Split complementary#471F04, #2C4704
Tetradic#47042B, #474104, #04471F
Tints, shades & saturation
Channel breakdown
R4
G10
B71
Red4 (1.6%)
Green10 (3.9%)
Blue71 (27.8%)
Hue234.63°
Saturation (HSL)89.33%
Lightness14.71%
Dominant channelBlue
Hex per channelR 04 · G 0A · B 47
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