Nerdulator> put something in

Recognised as Colour

#2A2281

  • #2A2281
  • Blue
  • Dark
  • Nearest: Midnight blue

#2A2281 is a blue with RGB values 42, 34, 129 and HSL 245°, 58%, 32%. It is a dark colour, so white text on it reaches 12.8:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2A2281#2A2281
HEX#2A2281
RGBrgb(42, 34, 129)
RGB (0–1)0.1647, 0.1333, 0.5059
RGB percentages16.5%, 13.3%, 50.6%
HSLhsl(245.1, 58.3%, 32%)
HSV / HSBhsv(245.1, 73.6%, 50.6%)
CMYK67.4%, 73.6%, 0%, 49.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,761,345
CSS custom property--colour: #2A2281;

Brightness & contrast

Relative luminance0.03221WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.77:1
Contrast with white12.77:1WCAG normal text: AAA
Contrast with black1.64:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#D5DD7E

Colour vision & accessibility

Protanopia#003684no red cones; affects about 1% of men; ΔE 17.1 from the original
Deuteranopia#002E7Fno green cones; the most common form, about 1% of men; ΔE 13 from the original
Tritanopia#003C4Fno blue cones; rare, and affects men and women equally; ΔE 56.5 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.77:1WCAG large text: AAA
Contrast with black, large text1.64:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#798122
Analogous#224981, #5A2281
Triadic#812A22, #22812A
Split complementary#815A22, #498122
Tetradic#812249, #798122, #22815A

Tints, shades & saturation

Lighter +40%#958EE1
Lighter +30%#6F65D7
Lighter +20%#493DCC
Lighter +10%#372DA9
Darker −10%#1D1759
Darker −20%#100D30
Darker −30%#030208
Darker −40%#000000
More saturated +25%#190E95
Less saturated −25%#3B366D

Channel breakdown

R42
G34
B129
Red42 (16.5%)
Green34 (13.3%)
Blue129 (50.6%)
Hue245.05°
Saturation (HSL)58.28%
Lightness31.96%
Dominant channelBlue
Hex per channelR 2A · G 22 · B 81

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