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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page