Recognised as Colour
#2A3171
- #2A3171
- Blue
- Dark
- Nearest: Dark slateblue
#2A3171 is a blue with RGB values 42, 49, 113 and HSL 234°, 46%, 30%. It is a dark colour, so white text on it reaches 11.8:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#2A3171#2A3171
HEX#2A3171
RGBrgb(42, 49, 113)
RGB (0–1)0.1647, 0.1922, 0.4431
RGB percentages16.5%, 19.2%, 44.3%
HSLhsl(234.1, 45.8%, 30.4%)
HSV / HSBhsv(234.1, 62.8%, 44.3%)
CMYK62.8%, 56.6%, 0%, 55.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,765,169
CSS custom property--colour: #2A3171;
Brightness & contrast
Relative luminance0.03881WCAG 2.x, 0 is black and 1 is white
Perceived brightness58.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.82:1
Contrast with white11.82:1WCAG normal text: AAA
Contrast with black1.78:1WCAG normal text: Fail
Greyscale equivalent#343434
Inverted#D5CE8E
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.82:1WCAG large text: AAA
Contrast with black, large text1.78:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#716A2A
Analogous#2A5471, #472A71
Triadic#712A31, #31712A
Split complementary#71472A, #54712A
Tetradic#712A54, #716A2A, #2A7147
Tints, shades & saturation
Channel breakdown
R42
G49
B113
Red42 (16.5%)
Green49 (19.2%)
Blue113 (44.3%)
Hue234.08°
Saturation (HSL)45.81%
Lightness30.39%
Dominant channelBlue
Hex per channelR 2A · G 31 · B 71
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