Nerdulator> put something in

Recognised as Colour

#040C41

  • #040C41
  • Blue
  • Dark
  • Nearest: Midnight blue

#040C41 is a blue with RGB values 4, 12, 65 and HSL 232°, 88%, 14%. It is a dark colour, so white text on it reaches 18.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#040C41#040C41
HEX#040C41
RGBrgb(4, 12, 65)
RGB (0–1)0.0157, 0.0471, 0.2549
RGB percentages1.6%, 4.7%, 25.5%
HSLhsl(232.1, 88.4%, 13.5%)
HSV / HSBhsv(232.1, 93.8%, 25.5%)
CMYK93.8%, 81.5%, 0%, 74.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,281
CSS custom property--colour: #040C41;

Brightness & contrast

Relative luminance0.0067WCAG 2.x, 0 is black and 1 is white
Perceived brightness23.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.52:1
Contrast with white18.52:1WCAG normal text: AAA
Contrast with black1.13:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#FBF3BE

Colour vision & accessibility

Protanopia#001643no red cones; affects about 1% of men; ΔE 7.8 from the original
Deuteranopia#001040no green cones; the most common form, about 1% of men; ΔE 4 from the original
Tritanopia#001B25no blue cones; rare, and affects men and women equally; ΔE 34.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.52:1WCAG large text: AAA
Contrast with black, large text1.13:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 22.29, a distinctly different colour
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#413904
Analogous#042A41, #1B0441
Triadic#41040C, #0C4104
Split complementary#411A04, #2B4104
Tetradic#41042A, #413904, #04411A

Tints, shades & saturation

Lighter +40%#203BF1
Lighter +30%#0D27D1
Lighter +20%#0A1EA1
Lighter +10%#071571
Darker −10%#010311
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000945
Less saturated −25%#0D1238

Channel breakdown

R4
G12
B65
Red4 (1.6%)
Green12 (4.7%)
Blue65 (25.5%)
Hue232.13°
Saturation (HSL)88.41%
Lightness13.53%
Dominant channelBlue
Hex per channelR 04 · G 0C · B 41

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

Every value on this page was computed from “040c41” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.