Recognised as Colour
#040A44
- #040A44
- Blue
- Dark
- Nearest: Midnight blue
#040A44 is a blue with RGB values 4, 10, 68 and HSL 234°, 89%, 14%. It is a dark colour, so white text on it reaches 18.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#040A44#040A44
HEX#040A44
RGBrgb(4, 10, 68)
RGB (0–1)0.0157, 0.0392, 0.2667
RGB percentages1.6%, 3.9%, 26.7%
HSLhsl(234.4, 88.9%, 14.1%)
HSV / HSBhsv(234.4, 94.1%, 26.7%)
CMYK94.1%, 85.3%, 0%, 73.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer264,772
CSS custom property--colour: #040A44;
Brightness & contrast
Relative luminance0.0066WCAG 2.x, 0 is black and 1 is white
Perceived brightness24.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.55:1
Contrast with white18.55:1WCAG normal text: AAA
Contrast with black1.13:1WCAG normal text: Fail
Greyscale equivalent#0D0D0D
Inverted#FBF5BB
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.55:1WCAG large text: AAA
Contrast with black, large text1.13:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#443E04
Analogous#042A44, #1E0444
Triadic#44040A, #0A4404
Split complementary#441E04, #2A4404
Tetradic#44042A, #443E04, #04441E
Tints, shades & saturation
Channel breakdown
R4
G10
B68
Red4 (1.6%)
Green10 (3.9%)
Blue68 (26.7%)
Hue234.38°
Saturation (HSL)88.89%
Lightness14.12%
Dominant channelBlue
Hex per channelR 04 · G 0A · B 44
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