Recognised as Colour
#2E1B79
- #2E1B79
- Blue
- Dark
- Nearest: Midnight blue
#2E1B79 is a blue with RGB values 46, 27, 121 and HSL 252°, 64%, 29%. It is a dark colour, so white text on it reaches 13.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2E1B79#2E1B79
HEX#2E1B79
RGBrgb(46, 27, 121)
RGB (0–1)0.1804, 0.1059, 0.4745
RGB percentages18%, 10.6%, 47.5%
HSLhsl(252.1, 63.5%, 29%)
HSV / HSBhsv(252.1, 77.7%, 47.5%)
CMYK62%, 77.7%, 0%, 52.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,021,689
CSS custom property--colour: #2E1B79;
Brightness & contrast
Relative luminance0.02745WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.56:1
Contrast with white13.56:1WCAG normal text: AAA
Contrast with black1.55:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#D1E486
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.56:1WCAG large text: AAA
Contrast with black, large text1.55:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#66791B
Analogous#1B3779, #5D1B79
Triadic#792E1B, #1B792E
Split complementary#795D1B, #37791B
Tetradic#791B37, #66791B, #1B795D
Tints, shades & saturation
Channel breakdown
R46
G27
B121
Red46 (18%)
Green27 (10.6%)
Blue121 (47.5%)
Hue252.13°
Saturation (HSL)63.51%
Lightness29.02%
Dominant channelBlue
Hex per channelR 2E · G 1B · B 79
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