Nerdulator> put something in

Recognised as Colour

#040C74

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

#040C74 is a blue with RGB values 4, 12, 116 and HSL 236°, 93%, 24%. It is a dark colour, so white text on it reaches 16:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#040C74#040C74
HEX#040C74
RGBrgb(4, 12, 116)
RGB (0–1)0.0157, 0.0471, 0.4549
RGB percentages1.6%, 4.7%, 45.5%
HSLhsl(235.7, 93.3%, 23.5%)
HSV / HSBhsv(235.7, 96.6%, 45.5%)
CMYK96.6%, 89.7%, 0%, 54.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,332
CSS custom property--colour: #040C74;

Brightness & contrast

Relative luminance0.0155WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.03:1
Contrast with white16.03:1WCAG normal text: AAA
Contrast with black1.31:1WCAG normal text: Fail
Greyscale equivalent#121212
Inverted#FBF38B

Colour vision & accessibility

Protanopia#002777no red cones; affects about 1% of men; ΔE 19 from the original
Deuteranopia#001B72no green cones; the most common form, about 1% of men; ΔE 11.3 from the original
Tritanopia#003043no blue cones; rare, and affects men and women equally; ΔE 61.8 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.03:1WCAG large text: AAA
Contrast with black, large text1.31:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#746C04
Analogous#044474, #340474
Triadic#74040C, #0C7404
Split complementary#743404, #447404
Tetradic#740444, #746C04, #047434

Tints, shades & saturation

Lighter +40%#4B58F9
Lighter +30%#1A2AF7
Lighter +20%#0716D7
Lighter +10%#0611A5
Darker −10%#020743
Darker −20%#010211
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000978
Less saturated −25%#131965

Channel breakdown

R4
G12
B116
Red4 (1.6%)
Green12 (4.7%)
Blue116 (45.5%)
Hue235.71°
Saturation (HSL)93.33%
Lightness23.53%
Dominant channelBlue
Hex per channelR 04 · G 0C · B 74

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 “040c74” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.