Recognised as Colour
#311C87
- #311C87
- Blue
- Dark
- Nearest: Indigo
#311C87 is a blue with RGB values 49, 28, 135 and HSL 252°, 66%, 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 Indigo.
Colour values
#311C87#311C87
HEX#311C87
RGBrgb(49, 28, 135)
RGB (0–1)0.1922, 0.1098, 0.5294
RGB percentages19.2%, 11%, 52.9%
HSLhsl(251.8, 65.6%, 32%)
HSV / HSBhsv(251.8, 79.3%, 52.9%)
CMYK63.7%, 79.3%, 0%, 47.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,218,567
CSS custom property--colour: #311C87;
Brightness & contrast
Relative luminance0.03233WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.75:1
Contrast with white12.75:1WCAG normal text: AAA
Contrast with black1.65:1WCAG normal text: Fail
Greyscale equivalent#282828
Inverted#CEE378
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.75:1WCAG large text: AAA
Contrast with black, large text1.65:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#72871C
Analogous#1C3D87, #661C87
Triadic#87311C, #1C8731
Split complementary#87671C, #3C871C
Tetradic#871C3D, #72871C, #1C8766
Tints, shades & saturation
Channel breakdown
R49
G28
B135
Red49 (19.2%)
Green28 (11%)
Blue135 (52.9%)
Hue251.78°
Saturation (HSL)65.64%
Lightness31.96%
Dominant channelBlue
Hex per channelR 31 · G 1C · B 87
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