Nerdulator> put something in

Colour

#042080

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

#042080 is a blue with RGB values 4, 32, 128 and HSL 226°, 94%, 26%. It is a dark colour, so white text on it reaches 13.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#042080#042080
HEX#042080
RGBrgb(4, 32, 128)
RGB (0–1)0.0157, 0.1255, 0.502
RGB percentages1.6%, 12.5%, 50.2%
HSLhsl(226.5, 93.9%, 25.9%)
HSV / HSBhsv(226.5, 96.9%, 50.2%)
CMYK96.9%, 75%, 0%, 49.8%naive device-independent conversion; real print needs an ICC profile
24-bit integer270,464
CSS custom property--colour: #042080;

Brightness & contrast

Relative luminance0.02617WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.78:1
Contrast with white13.78:1WCAG normal text: AAA
Contrast with black1.52:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#FBDF7F

Colour vision & accessibility

Protanopia#003383no red cones; affects about 1% of men; ΔE 14.9 from the original
Deuteranopia#00277Eno green cones; the most common form, about 1% of men; ΔE 7 from the original
Tritanopia#003C4Eno blue cones; rare, and affects men and women equally; ΔE 57.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.78:1WCAG large text: AAA
Contrast with black, large text1.52:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#806404
Analogous#045E80, #260480
Triadic#800420, #208004
Split complementary#802604, #5E8004
Tetradic#80045E, #806404, #048026

Tints, shades & saturation

Lighter +40%#567BFA
Lighter +30%#2555F8
Lighter +20%#0739E3
Lighter +10%#062CB1
Darker −10%#02144F
Darker −20%#01071D
Darker −30%#000000
Darker −40%#000000
More saturated +25%#001E84
Less saturated −25%#14296F

Channel breakdown

R4
G32
B128
Red4 (1.6%)
Green32 (12.5%)
Blue128 (50.2%)
Hue226.45°
Saturation (HSL)93.94%
Lightness25.88%
Dominant channelBlue
Hex per channelR 04 · G 20 · B 80

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