Nerdulator> put something in

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

Protanopia#001749no red cones; affects about 1% of men; ΔE 10.2 from the original
Deuteranopia#001046no green cones; the most common form, about 1% of men; ΔE 5.3 from the original
Tritanopia#001D28no blue cones; rare, and affects men and women equally; ΔE 40.2 from the original
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

Nearest named CSS colourMidnight blue (#191970)ΔE 17.36, a distinctly different colour
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

Lighter +40%#2437F3
Lighter +30%#0C1ED8
Lighter +20%#0918A8
Lighter +10%#071177
Darker −10%#010317
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#00074B
Less saturated −25%#0D123E

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

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