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