Nerdulator> put something in

Recognised as Colour

#040261

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

#040261 is a blue with RGB values 4, 2, 97 and HSL 241°, 96%, 19%. 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

#040261#040261
HEX#040261
RGBrgb(4, 2, 97)
RGB (0–1)0.0157, 0.0078, 0.3804
RGB percentages1.6%, 0.8%, 38%
HSLhsl(241.3, 96%, 19.4%)
HSV / HSBhsv(241.3, 97.9%, 38%)
CMYK95.9%, 97.9%, 0%, 62%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer262,753
CSS custom property--colour: #040261;

Brightness & contrast

Relative luminance0.00932WCAG 2.x, 0 is black and 1 is white
Perceived brightness32.9 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#090909
Inverted#FBFD9E

Colour vision & accessibility

Protanopia#001D63no red cones; affects about 1% of men; ΔE 19 from the original
Deuteranopia#001360no green cones; the most common form, about 1% of men; ΔE 12 from the original
Tritanopia#002536no blue cones; rare, and affects men and women equally; ΔE 57.4 from the original
Distinguishable without hueShifts in lightness toonever 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 10, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#5F6102
Analogous#022F61, #340261
Triadic#610402, #026104
Split complementary#613402, #2F6102
Tetradic#61022F, #5F6102, #026134

Tints, shades & saturation

Lighter +40%#3834FB
Lighter +30%#0A05F7
Lighter +20%#0804C5
Lighter +10%#060393
Darker −10%#02012F
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#020063
Less saturated −25%#100E55

Channel breakdown

R4
G2
B97
Red4 (1.6%)
Green2 (0.8%)
Blue97 (38%)
Hue241.26°
Saturation (HSL)95.96%
Lightness19.41%
Dominant channelBlue
Hex per channelR 04 · G 02 · B 61

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