Recognised as Colour
#040A68
- #040A68
- Blue
- Dark
- Nearest: Midnight blue
#040A68 is a blue with RGB values 4, 10, 104 and HSL 236°, 93%, 21%. It is a dark colour, so white text on it reaches 16.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#040A68#040A68
HEX#040A68
RGBrgb(4, 10, 104)
RGB (0–1)0.0157, 0.0392, 0.4078
RGB percentages1.6%, 3.9%, 40.8%
HSLhsl(236.4, 92.6%, 21.2%)
HSV / HSBhsv(236.4, 96.2%, 40.8%)
CMYK96.2%, 90.4%, 0%, 59.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer264,808
CSS custom property--colour: #040A68;
Brightness & contrast
Relative luminance0.01242WCAG 2.x, 0 is black and 1 is white
Perceived brightness36 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.82:1
Contrast with white16.82:1WCAG normal text: AAA
Contrast with black1.25:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#FBF597
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.82:1WCAG large text: AAA
Contrast with black, large text1.25:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#686204
Analogous#043C68, #300468
Triadic#68040A, #0A6804
Split complementary#683004, #3C6804
Tetradic#68043C, #686204, #046830
Tints, shades & saturation
Channel breakdown
R4
G10
B104
Red4 (1.6%)
Green10 (3.9%)
Blue104 (40.8%)
Hue236.4°
Saturation (HSL)92.59%
Lightness21.18%
Dominant channelBlue
Hex per channelR 04 · G 0A · B 68
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