Nerdulator> put something in

Recognised as Colour

#040259

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

#040259 is a blue with RGB values 4, 2, 89 and HSL 241°, 96%, 18%. It is a dark colour, so white text on it reaches 18.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#040259#040259
HEX#040259
RGBrgb(4, 2, 89)
RGB (0–1)0.0157, 0.0078, 0.349
RGB percentages1.6%, 0.8%, 34.9%
HSLhsl(241.4, 95.6%, 17.8%)
HSV / HSBhsv(241.4, 97.8%, 34.9%)
CMYK95.5%, 97.8%, 0%, 65.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer262,745
CSS custom property--colour: #040259;

Brightness & contrast

Relative luminance0.0079WCAG 2.x, 0 is black and 1 is white
Perceived brightness30.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.13:1
Contrast with white18.13:1WCAG normal text: AAA
Contrast with black1.16:1WCAG normal text: Fail
Greyscale equivalent#090909
Inverted#FBFDA6

Colour vision & accessibility

Protanopia#001A5Bno red cones; affects about 1% of men; ΔE 17.5 from the original
Deuteranopia#001158no green cones; the most common form, about 1% of men; ΔE 11.2 from the original
Tritanopia#002131no blue cones; rare, and affects men and women equally; ΔE 53.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.13:1WCAG large text: AAA
Contrast with black, large text1.16:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 9.48, clearly different but related
Hue familyblue
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#575902
Analogous#022C59, #2F0259
Triadic#590402, #025904
Split complementary#592F02, #2C5902
Tetradic#59022C, #575902, #02592F

Tints, shades & saturation

Lighter +40%#312DFA
Lighter +30%#0B05EF
Lighter +20%#0804BD
Lighter +10%#06038B
Darker −10%#020127
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#02005B
Less saturated −25%#0F0D4E

Channel breakdown

R4
G2
B89
Red4 (1.6%)
Green2 (0.8%)
Blue89 (34.9%)
Hue241.38°
Saturation (HSL)95.6%
Lightness17.84%
Dominant channelBlue
Hex per channelR 04 · G 02 · B 59

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