Recognised as Colour
#2A2284
- #2A2284
- Blue
- Dark
- Nearest: Midnight blue
#2A2284 is a blue with RGB values 42, 34, 132 and HSL 245°, 59%, 33%. It is a dark colour, so white text on it reaches 12.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2A2284#2A2284
HEX#2A2284
RGBrgb(42, 34, 132)
RGB (0–1)0.1647, 0.1333, 0.5176
RGB percentages16.5%, 13.3%, 51.8%
HSLhsl(244.9, 59%, 32.5%)
HSV / HSBhsv(244.9, 74.2%, 51.8%)
CMYK68.2%, 74.2%, 0%, 48.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,761,348
CSS custom property--colour: #2A2284;
Brightness & contrast
Relative luminance0.03302WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.65:1
Contrast with white12.65:1WCAG normal text: AAA
Contrast with black1.66:1WCAG normal text: Fail
Greyscale equivalent#2B2B2B
Inverted#D5DD7B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.65:1WCAG large text: AAA
Contrast with black, large text1.66:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#7C8422
Analogous#224B84, #5B2284
Triadic#842A22, #22842A
Split complementary#845B22, #4B8422
Tetradic#84224B, #7C8422, #22845B
Tints, shades & saturation
Channel breakdown
R42
G34
B132
Red42 (16.5%)
Green34 (13.3%)
Blue132 (51.8%)
Hue244.9°
Saturation (HSL)59.04%
Lightness32.55%
Dominant channelBlue
Hex per channelR 2A · G 22 · B 84
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