Nerdulator> put something in

Recognised as Colour

#040E4B

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

#040E4B is a blue with RGB values 4, 14, 75 and HSL 232°, 90%, 15%. 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

#040E4B#040E4B
HEX#040E4B
RGBrgb(4, 14, 75)
RGB (0–1)0.0157, 0.0549, 0.2941
RGB percentages1.6%, 5.5%, 29.4%
HSLhsl(231.5, 89.9%, 15.5%)
HSV / HSBhsv(231.5, 94.7%, 29.4%)
CMYK94.7%, 81.3%, 0%, 70.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer265,803
CSS custom property--colour: #040E4B;

Brightness & contrast

Relative luminance0.00848WCAG 2.x, 0 is black and 1 is white
Perceived brightness27.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.96:1
Contrast with white17.96:1WCAG normal text: AAA
Contrast with black1.17:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#FBF1B4

Colour vision & accessibility

Protanopia#001A4Dno red cones; affects about 1% of men; ΔE 10.2 from the original
Deuteranopia#00134Ano green cones; the most common form, about 1% of men; ΔE 5.2 from the original
Tritanopia#00202Bno blue cones; rare, and affects men and women equally; ΔE 40.7 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.96:1WCAG large text: AAA
Contrast with black, large text1.17:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#4B4104
Analogous#04314B, #1E044B
Triadic#4B040E, #0E4B04
Split complementary#4B1E04, #314B04
Tetradic#4B0431, #4B4104, #044B1E

Tints, shades & saturation

Lighter +40%#2744F4
Lighter +30%#0C29DC
Lighter +20%#0920AC
Lighter +10%#07177B
Darker −10%#01051B
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#000B4F
Less saturated −25%#0E1541

Channel breakdown

R4
G14
B75
Red4 (1.6%)
Green14 (5.5%)
Blue75 (29.4%)
Hue231.55°
Saturation (HSL)89.87%
Lightness15.49%
Dominant channelBlue
Hex per channelR 04 · G 0E · B 4B

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