Recognised as Colour
#31288D
- #31288D
- Blue
- Dark
- Nearest: Midnight blue
#31288D is a blue with RGB values 49, 40, 141 and HSL 245°, 56%, 35%. It is a dark colour, so white text on it reaches 11.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#31288D#31288D
HEX#31288D
RGBrgb(49, 40, 141)
RGB (0–1)0.1922, 0.1569, 0.5529
RGB percentages19.2%, 15.7%, 55.3%
HSLhsl(245.3, 55.8%, 35.5%)
HSV / HSBhsv(245.3, 71.6%, 55.3%)
CMYK65.2%, 71.6%, 0%, 44.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,221,645
CSS custom property--colour: #31288D;
Brightness & contrast
Relative luminance0.04094WCAG 2.x, 0 is black and 1 is white
Perceived brightness62.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.55:1
Contrast with white11.55:1WCAG normal text: AAA
Contrast with black1.82:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#CED772
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text11.55:1WCAG large text: AAA
Contrast with black, large text1.82:1WCAG large text: Fail
Named colours
Hue familyblue
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#848D28
Analogous#28518D, #64288D
Triadic#8D3128, #288D31
Split complementary#8D6428, #518D28
Tetradic#8D2852, #848D28, #288D64
Tints, shades & saturation
Channel breakdown
R49
G40
B141
Red49 (19.2%)
Green40 (15.7%)
Blue141 (55.3%)
Hue245.35°
Saturation (HSL)55.8%
Lightness35.49%
Dominant channelBlue
Hex per channelR 31 · G 28 · B 8D
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