Nerdulator> put something in

Recognised as Colour

#041540

  • #041540
  • Blue
  • Dark
  • Nearest: Midnight blue

#041540 is a blue with RGB values 4, 21, 64 and HSL 223°, 88%, 13%. It is a dark colour, so white text on it reaches 17.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#041540#041540
HEX#041540
RGBrgb(4, 21, 64)
RGB (0–1)0.0157, 0.0824, 0.251
RGB percentages1.6%, 8.2%, 25.1%
HSLhsl(223, 88.2%, 13.3%)
HSV / HSBhsv(223, 93.8%, 25.1%)
CMYK93.8%, 67.2%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer267,584
CSS custom property--colour: #041540;

Brightness & contrast

Relative luminance0.00932WCAG 2.x, 0 is black and 1 is white
Perceived brightness27 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.7:1
Contrast with white17.7:1WCAG normal text: AAA
Contrast with black1.19:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#FBEABF

Colour vision & accessibility

Protanopia#001B41no red cones; affects about 1% of men; ΔE 5.8 from the original
Deuteranopia#00163Fno green cones; the most common form, about 1% of men; ΔE 2.1 from the original
Tritanopia#002028no blue cones; rare, and affects men and women equally; ΔE 29.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.7:1WCAG large text: AAA
Contrast with black, large text1.19:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#402F04
Analogous#043340, #110440
Triadic#400415, #154004
Split complementary#401104, #334004
Tetradic#400433, #402F04, #044011

Tints, shades & saturation

Lighter +40%#1F5AF1
Lighter +30%#0D44D0
Lighter +20%#0A34A0
Lighter +10%#072570
Darker −10%#010510
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001344
Less saturated −25%#0D1938

Channel breakdown

R4
G21
B64
Red4 (1.6%)
Green21 (8.2%)
Blue64 (25.1%)
Hue223°
Saturation (HSL)88.24%
Lightness13.33%
Dominant channelBlue
Hex per channelR 04 · G 15 · B 40

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