Recognised as Colour
#2A1861
- #2A1861
- Blue
- Dark
- Nearest: Midnight blue
#2A1861 is a blue with RGB values 42, 24, 97 and HSL 255°, 60%, 24%. It is a dark colour, so white text on it reaches 15:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2A1861#2A1861
HEX#2A1861
RGBrgb(42, 24, 97)
RGB (0–1)0.1647, 0.0941, 0.3804
RGB percentages16.5%, 9.4%, 38%
HSLhsl(254.8, 60.3%, 23.7%)
HSV / HSBhsv(254.8, 75.3%, 38%)
CMYK56.7%, 75.3%, 0%, 62%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,758,753
CSS custom property--colour: #2A1861;
Brightness & contrast
Relative luminance0.02009WCAG 2.x, 0 is black and 1 is white
Perceived brightness44 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.98:1
Contrast with white14.98:1WCAG normal text: AAA
Contrast with black1.4:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#D5E79E
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.98:1WCAG large text: AAA
Contrast with black, large text1.4:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4F6118
Analogous#182A61, #4F1861
Triadic#612A18, #18612A
Split complementary#614F18, #2A6118
Tetradic#61182A, #4F6118, #18614F
Tints, shades & saturation
Channel breakdown
R42
G24
B97
Red42 (16.5%)
Green24 (9.4%)
Blue97 (38%)
Hue254.79°
Saturation (HSL)60.33%
Lightness23.73%
Dominant channelBlue
Hex per channelR 2A · G 18 · B 61
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