Nerdulator> put something in

Recognised as Colour

#2A1677

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

#2A1677 is a blue with RGB values 42, 22, 119 and HSL 252°, 69%, 28%. It is a dark colour, so white text on it reaches 14.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#2A1677#2A1677
HEX#2A1677
RGBrgb(42, 22, 119)
RGB (0–1)0.1647, 0.0863, 0.4667
RGB percentages16.5%, 8.6%, 46.7%
HSLhsl(252.4, 68.8%, 27.6%)
HSV / HSBhsv(252.4, 81.5%, 46.7%)
CMYK64.7%, 81.5%, 0%, 53.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,758,263
CSS custom property--colour: #2A1677;

Brightness & contrast

Relative luminance0.02398WCAG 2.x, 0 is black and 1 is white
Perceived brightness49.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.19:1
Contrast with white14.19:1WCAG normal text: AAA
Contrast with black1.48:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#D5E988

Colour vision & accessibility

Protanopia#002E7Ano red cones; affects about 1% of men; ΔE 19.2 from the original
Deuteranopia#002775no green cones; the most common form, about 1% of men; ΔE 15.8 from the original
Tritanopia#003346no 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 text14.19:1WCAG large text: AAA
Contrast with black, large text1.48:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#637716
Analogous#163277, #5B1677
Triadic#772A16, #16772A
Split complementary#775B16, #327716
Tetradic#771632, #637716, #16775B

Tints, shades & saturation

Lighter +40%#8B74E5
Lighter +30%#6749DD
Lighter +20%#4826CD
Lighter +10%#391EA2
Darker −10%#1B0E4C
Darker −20%#0C0621
Darker −30%#000000
Darker −40%#000000
More saturated +25%#200489
Less saturated −25%#342865

Channel breakdown

R42
G22
B119
Red42 (16.5%)
Green22 (8.6%)
Blue119 (46.7%)
Hue252.37°
Saturation (HSL)68.79%
Lightness27.65%
Dominant channelBlue
Hex per channelR 2A · G 16 · B 77

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