Nerdulator> put something in

Colour

#040C4D

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

#040C4D is a blue with RGB values 4, 12, 77 and HSL 233°, 90%, 16%. It is a dark colour, so white text on it reaches 18:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#040C4D#040C4D
HEX#040C4D
RGBrgb(4, 12, 77)
RGB (0–1)0.0157, 0.0471, 0.302
RGB percentages1.6%, 4.7%, 30.2%
HSLhsl(233.4, 90.1%, 15.9%)
HSV / HSBhsv(233.4, 94.8%, 30.2%)
CMYK94.8%, 84.4%, 0%, 69.8%naive device-independent conversion; real print needs an ICC profile
24-bit integer265,293
CSS custom property--colour: #040C4D;

Brightness & contrast

Relative luminance0.00825WCAG 2.x, 0 is black and 1 is white
Perceived brightness27.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.03:1
Contrast with white18.03:1WCAG normal text: AAA
Contrast with black1.16:1WCAG normal text: Fail
Greyscale equivalent#0F0F0F
Inverted#FBF3B2

Colour vision & accessibility

Protanopia#001A4Fno red cones; affects about 1% of men; ΔE 11.6 from the original
Deuteranopia#00134Cno green cones; the most common form, about 1% of men; ΔE 6.7 from the original
Tritanopia#00202Cno blue cones; rare, and affects men and women equally; ΔE 42.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.03:1WCAG large text: AAA
Contrast with black, large text1.16:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#4D4504
Analogous#04314D, #20044D
Triadic#4D040C, #0C4D04
Split complementary#4D2004, #314D04
Tetradic#4D0431, #4D4504, #044D20

Tints, shades & saturation

Lighter +40%#293FF4
Lighter +30%#0C23DE
Lighter +20%#091BAE
Lighter +10%#07147D
Darker −10%#01041D
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000951
Less saturated −25%#0E1443

Channel breakdown

R4
G12
B77
Red4 (1.6%)
Green12 (4.7%)
Blue77 (30.2%)
Hue233.42°
Saturation (HSL)90.12%
Lightness15.88%
Dominant channelBlue
Hex per channelR 04 · G 0C · B 4D

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